Skip to content

Commit cac597a

Browse files
don't print undefined on figlet (#543)
1 parent f193d16 commit cac597a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/interface/cli/commands/hybrid/helper.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ function drawCodefreshFiglet() {
293293
if (err) {
294294
resolve();
295295
}
296-
console.log(data);
296+
if (data) {
297+
console.log(data);
298+
}
297299
resolve();
298300
});
299301
}), Promise.delay(5000)]);

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.71.4",
3+
"version": "0.71.5",
44
"description": "Codefresh command line utility",
55
"main": "index.js",
66
"preferGlobal": true,

0 commit comments

Comments
 (0)