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