@goldstack/utils-log
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -6,3 +6,3 @@ "use strict"; | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
exports.debug = (msg) => { | ||
const debug = (msg) => { | ||
if (isDebug) { | ||
@@ -12,3 +12,4 @@ console.log(msg); | ||
}; | ||
exports.fatal = (msg) => { | ||
exports.debug = debug; | ||
const fatal = (msg) => { | ||
if (isDebug) { | ||
@@ -20,2 +21,3 @@ throw new Error(msg); | ||
}; | ||
exports.fatal = fatal; | ||
//# sourceMappingURL=utilsLog.js.map |
{ | ||
"name": "@goldstack/utils-log", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Utilities for emitting logs.", | ||
@@ -37,9 +37,9 @@ "keywords": [ | ||
"devDependencies": { | ||
"@goldstack/utils-git": "0.1.23", | ||
"@types/jest": "^25.2.3", | ||
"@goldstack/utils-git": "0.1.24", | ||
"@types/jest": "^26.0.21", | ||
"@types/node": "^14.0.6", | ||
"jest": "^26.0.1", | ||
"ts-jest": "^26.1.0", | ||
"typescript": "^3.9.5" | ||
"jest": "^26.6.3", | ||
"ts-jest": "^26.5.4", | ||
"typescript": "^4.1.3" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
3011
21