This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-02-26 09:04:02 -08:00
parent ba47e60eeb
commit f8563a1509
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ describe 'Child Processes', ->
afterEach ->
jasmine.getEnv().defaultTimeoutInterval = originalTimeout
it "does not block indefinitally on stdout or stderr callbacks (regression)", ->
it "does not block indefinitely on stdout or stderr callbacks (regression)", ->
output = []
waitsForPromise ->

View File

@@ -194,7 +194,7 @@ class Project
ChildProcess.exec command , bufferLines: true, stdout: (data) ->
lines = data.split('\n')
lines.pop() # the last segment is a spurios '' because data always ends in \n due to bufferLines: true
lines.pop() # the last segment is a spurious '' because data always ends in \n due to bufferLines: true
for line in lines
readPath(line) if state is 'readingPath'
readLine(line) if state is 'readingLines'