This commit is contained in:
Corey Johnson & Nathan Sobo
2012-07-19 11:14:38 -06:00
parent b1b6b3a310
commit 12f765cc47

View File

@@ -140,7 +140,7 @@ class Project
regex = new RegExp(regex.source, 'g')
command = "#{require.resolve('ack')} --all --match \"#{regex.source}\" \"#{@getPath()}\""
bufferedData = ""
promise = ChildProcess.exec command , bufferLines: true, stdout: (data) ->
ChildProcess.exec command , bufferLines: true, stdout: (data) ->
bufferedData += data
currentIndex = 0
while currentIndex < bufferedData.length