Skip to content

Commit

Permalink
feat(versions): print error messages, not error objects
Browse files Browse the repository at this point in the history
  • Loading branch information
raphinesse committed Nov 9, 2021
1 parent 735c4d0 commit 118e31f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/templates/scripts/cordova/lib/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ exports.printOrDie = versionName =>
console.log(version);
},
err => {
console.error(err);
console.error(err.message);
process.exit(2);
}
);

0 comments on commit 118e31f

Please sign in to comment.