Ignore both .cache and .archive and other hidden files in finding output files
This commit is contained in:
@@ -29,7 +29,7 @@ module.exports = OutputFileFinder =
|
|||||||
_callback(error, fileList)
|
_callback(error, fileList)
|
||||||
_callback = () ->
|
_callback = () ->
|
||||||
|
|
||||||
args = [directory, "-name", ".cache", "-prune", "-o", "-type", "f", "-print"]
|
args = [directory, "-name", ".*", "-prune", "-o", "-type", "f", "-print"]
|
||||||
logger.log args: args, "running find command"
|
logger.log args: args, "running find command"
|
||||||
|
|
||||||
proc = spawn("find", args)
|
proc = spawn("find", args)
|
||||||
|
|||||||
Reference in New Issue
Block a user