Procházet zdrojové kódy

Ignore both .cache and .archive and other hidden files in finding output files

James Allen před 10 roky
rodič
revize
9c7e8af851

+ 1 - 1
services/clsi/app/coffee/OutputFileFinder.coffee

@@ -29,7 +29,7 @@ module.exports = OutputFileFinder =
 			_callback(error, fileList)
 			_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"
 
 		proc = spawn("find", args)