@open-norantec/herbal 1.0.0-alpha.39 → 1.0.0-alpha.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/herbal.js +6 -0
- package/package.json +1 -1
package/dist/cli/herbal.js
CHANGED
|
@@ -105,6 +105,12 @@ var getGenerateClientEntryFileContent = function (_a) {
|
|
|
105
105
|
};
|
|
106
106
|
var handleLog = function (level, message) {
|
|
107
107
|
console.log("[".concat(new Date().toISOString(), "] [").concat(level, "] ").concat(message));
|
|
108
|
+
switch (level) {
|
|
109
|
+
case 'error':
|
|
110
|
+
process.exit(1);
|
|
111
|
+
default:
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
108
114
|
};
|
|
109
115
|
command
|
|
110
116
|
.addCommand((0, forge_1.createForgeCommand)({
|