mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
drop in nak for search
This commit is contained in:
@@ -192,8 +192,9 @@ class Project
|
||||
readPath(line) if state is 'readingPath'
|
||||
readLine(line) if state is 'readingLines'
|
||||
|
||||
command = require.resolve('ag')
|
||||
args = ['--ackmate', regex.source, @getPath()]
|
||||
command = require.resolve 'nak'
|
||||
args = ['--ackmate', "#{regex.source}", @getPath()]
|
||||
args.unshift("--addVCSIgnores") if config.get('nak.addVCSIgnores')
|
||||
new BufferedProcess({command, args, stdout, exit})
|
||||
deferred
|
||||
|
||||
|
||||
Reference in New Issue
Block a user