Skip to content

Commit 1bc0c05

Browse files
fix no print error method (#293)
1 parent 268d4e2 commit 1bc0c05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/interface/cli/codefresh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#!/usr/bin/env node
22

3-
const { printError } = require('./helpers/general');
3+
const Output = require('../../output/Output');
44

55
process.on('uncaughtException', (err) => {
6-
printError(err);
6+
Output.printError(err);
77
process.exit(1);
88
});
99

1010
process.on('unhandledRejection', (err) => {
11-
printError(err);
11+
Output.printError(err);
1212
process.exit(1);
1313
});
1414

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codefresh",
3-
"version": "0.16.0",
3+
"version": "0.16.1",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)