Remove uncoloured formatting of factorioOutput

Since chalk autodetects the color support in the terminal there is no
need for a non-coloured version of formatOutput.
This commit is contained in:
Hornwitser committed 2019-11-30 00:08:10 +01:00
1 parent c6fd46e3c3
commit ea4f3ab2bf
2 files changed
+1 -39

No files matched your search

-8
View File
@@ -22,14 +22,6 @@ describe("clusterctl", function() {
chalk.level = old;
});
});
describe("formatOutput()", function() {
it("should pass the test lines", function() {
for (let [reference, output] of testLines) {
let line = clusterctl._formatOutput(output);
assert.deepEqual(line, reference);
}
});
});
let mockConnector = new mock.MockConnector();
mockConnector.on('send', function(message) {