fix parse standard out issue

This commit is contained in:
John Mitchell 2017-01-09 16:54:05 -05:00
parent dda8f14673
commit d65e1a5d82

View File

@ -195,7 +195,7 @@ export default ['$log', 'moment', function($log, moment){
return _
.zip(_.range(event.start_line + 1,
event.end_line + 1),
event.stdout.replace("\t", " ").split("\r\n").slice(0, -1));
event.stdout.replace("\t", " ").split("\r\n")).slice(0, -1);
},
// public function that provides the parsed stdout line, given a
// job_event