mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Use the full name of the -G option
This commit is contained in:
@@ -339,7 +339,7 @@ class Project
|
||||
command = require.resolve('.bin/nak')
|
||||
args = ['--hidden', '--ackmate', regex.source, @getPath()]
|
||||
ignoredNames = config.get('core.ignoredNames') ? []
|
||||
args.unshift('-G', options.paths.join(',')) if options.paths and options.paths.length > 0
|
||||
args.unshift('--pathInclude', options.paths.join(',')) if options.paths and options.paths.length > 0
|
||||
args.unshift('--ignore', ignoredNames.join(',')) if ignoredNames.length > 0
|
||||
args.unshift('--ignoreCase') if regex.ignoreCase
|
||||
args.unshift('--addVCSIgnores') if config.get('core.excludeVcsIgnoredPaths')
|
||||
|
||||
Reference in New Issue
Block a user