From cf88868bf0d2fb011831c3e8159923dcff3e2e95 Mon Sep 17 00:00:00 2001 From: Ben Ogle Date: Mon, 16 Sep 2013 16:14:51 -0700 Subject: [PATCH] Use the full name of the -G option --- src/project.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/project.coffee b/src/project.coffee index ca3c16e68..2477e819e 100644 --- a/src/project.coffee +++ b/src/project.coffee @@ -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')