mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(exit) es2018-ify
This commit is contained in:
parent
b94cd7d1a1
commit
d72ff58fe7
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = function() {
|
||||
console.error.apply(console, arguments);
|
||||
module.exports = (...args) => {
|
||||
console.error(...args);
|
||||
process.exit(1);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue