mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
don't display chunked lines'
This commit is contained in:
parent
7de092ff37
commit
ea0f7ad0de
@ -258,11 +258,7 @@ export default ['$log', 'moment', function($log, moment){
|
||||
.split("\r\n");
|
||||
|
||||
if (lineNums.length > lines.length) {
|
||||
let padBy = lineNums.length - lines.length;
|
||||
|
||||
for (let i = 0; i <= padBy; i++) {
|
||||
lines.push("");
|
||||
}
|
||||
lineNums = lineNums.slice(0, lines.length);
|
||||
}
|
||||
|
||||
lines = this.distributeColors(lines);
|
||||
|
||||
@ -129,7 +129,7 @@ describe('parseStdoutService', () => {
|
||||
end_line: 11,
|
||||
stdout: "a\r\nb\r\nc..."
|
||||
};
|
||||
let expectedReturn = [[8, "a"],[9, "b"], [10,"c..."], [11, ""]];
|
||||
let expectedReturn = [[8, "a"],[9, "b"], [10,"c..."]];
|
||||
|
||||
let returnedEvent = parseStdoutService.getLineArr(mockEvent);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user