mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Use more generic core.excludeVcsIgnoredPaths config key
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user