ソースを参照

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

James Allen 10 年 前
親
コミット
9c7e8af851
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      services/clsi/app/coffee/OutputFileFinder.coffee

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

@@ -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)