mirror of
https://github.com/danog/inline-critical.git
synced 2024-11-30 04:29:07 +01:00
Remove os.EOL
.
This commit is contained in:
parent
04d967b08f
commit
b021f7ec01
3
cli.js
3
cli.js
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user