kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Better output handling
rodzic
432dc04405
commit
f576858f0f
|
@ -380,7 +380,11 @@ module.exports = class Task{
|
|||
}, output => {
|
||||
// Replace console colors
|
||||
output = output.replace(/\x1b\[[0-9;]*m/g, "");
|
||||
this.output.push(output);
|
||||
|
||||
// Split lines and trim
|
||||
output.split('\n').forEach(line => {
|
||||
this.output.push(line.trim());
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue