Rename VCS ignore config setting to fuzzyFinder.hideVcsIgnoredPaths

This commit is contained in:
Kevin Sawicki 2013-04-03 11:35:24 -07:00
parent ace71acb3c
commit 0b3a91b5fe

View File

@ -9,11 +9,10 @@ class LoadPathsTask
rootPath = project.getPath()
ignoredNames = config.get('fuzzyFinder.ignoredNames') ? []
ignoredNames = ignoredNames.concat(config.get('core.ignoredNames') ? [])
ignoreGitIgnoredFiles = config.get('core.hideGitIgnoredFiles')
command = require.resolve 'nak'
args = ['--list', rootPath]
args.unshift('--addVCSIgnores') if config.get('nak.addVCSIgnores')
args.unshift('--addVCSIgnores') if config.get('fuzzyFinder.hideVcsIgnoredPaths')
args.unshift('--ignore', ignoredNames.join(',')) if ignoredNames.length > 0
args.unshift('--follow')