mirror of https://github.com/perkeep/perkeep.git
closure: ignore emacs temp files in gendeps
Change-Id: I634d46f2f55673eb81dcc8532bdc2ba4fc294c5f
This commit is contained in:
parent
12196cd638
commit
bf708b005d
|
@ -66,6 +66,10 @@ func GenDepsWithPath(pathPrefix string, root http.FileSystem) ([]byte, error) {
|
|||
if !strings.HasSuffix(name, ".js") {
|
||||
continue
|
||||
}
|
||||
if strings.HasPrefix(name, ".#") {
|
||||
// Emacs noise.
|
||||
continue
|
||||
}
|
||||
f, err := root.Open(name)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Could not open %v: %v", name, err)
|
||||
|
|
Loading…
Reference in New Issue