Use the full name of the -G option

This commit is contained in:
Ben Ogle
2013-09-16 16:14:51 -07:00
parent d8fdbcf1b1
commit cf88868bf0

View File

@@ -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')