mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 15:37:46 +03:00
drop in nak for search
This commit is contained in:
parent
75fbab94b1
commit
02873f5116
@ -13,7 +13,8 @@
|
||||
"coffee-cache": "0.1.0",
|
||||
"pegjs": "0.7.0",
|
||||
"async": "0.2.6",
|
||||
"plist": "git://github.com/nathansobo/node-plist.git"
|
||||
"plist": "git://github.com/nathansobo/node-plist.git",
|
||||
"nak": "0.2.4"
|
||||
},
|
||||
|
||||
"private": true,
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user