Просмотр исходного кода

skip the cache directory when finding output files

Brian Gough 11 лет назад
Родитель
Сommit
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)