diff --git a/cli.js b/cli.js index 12710b5..cc0435c 100644 --- a/cli.js +++ b/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); }