Remove os.EOL.

This commit is contained in:
XhmikosR 2019-11-11 19:54:19 +02:00
parent 04d967b08f
commit b021f7ec01

3
cli.js
View File

@ -1,6 +1,5 @@
#!/usr/bin/env node
'use strict';
const os = require('os');
const fs = require('fs');
const meow = require('meow');
const indentString = require('indent-string');
@ -104,7 +103,7 @@ cli.flags = reduce(cli.flags, (res, val, key) => {
function processError(err) {
process.stderr.write(indentString(`Error: ${err.message || err}`, 4));
process.stderr.write(os.EOL);
process.stderr.write('\n');
process.stderr.write(indentString(help, 4));
process.exit(1);
}