Use more generic core.excludeVcsIgnoredPaths config key

This commit is contained in:
Kevin Sawicki
2013-04-03 11:45:55 -07:00
parent ede5e88a19
commit a5870cedd2
2 changed files with 2 additions and 2 deletions

View File

@@ -193,7 +193,7 @@ class Project
command = require.resolve('nak')
args = ['--ackmate', regex.source, @getPath()]
args.unshift("--addVCSIgnores") if config.get('nak.addVCSIgnores')
args.unshift("--addVCSIgnores") if config.get('core.excludeVcsIgnoredPaths')
new BufferedProcess({command, args, stdout, exit})
deferred

View File

@@ -12,7 +12,7 @@ class LoadPathsTask
command = require.resolve 'nak'
args = ['--list', rootPath]
args.unshift('--addVCSIgnores') if config.get('fuzzyFinder.hideVcsIgnoredPaths')
args.unshift('--addVCSIgnores') if config.get('core.excludeVcsIgnoredPaths')
args.unshift('--ignore', ignoredNames.join(',')) if ignoredNames.length > 0
args.unshift('--follow')