Преглед изворни кода

skip the cache directory when finding output files

Brian Gough пре 11 година
родитељ
комит
5c1d61c955
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      services/clsi/app/coffee/OutputFileFinder.coffee

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

@@ -37,7 +37,7 @@ module.exports = OutputFileFinder =
 			_callback(error, fileList)
 			_callback = () ->
 				
-		args = [directory, "-type", "f"]
+		args = [directory, "-name", ".cache", "-prune", "-o", "-type", "f", "-print"]
 		logger.log args: args, "running find command"
 
 		proc = spawn("find", args)