Fixing error
This commit is contained in:
parent
d2da8da690
commit
675ec50139
2262
package-lock.json
generated
2262
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@hibas123/logging",
|
"name": "@hibas123/logging",
|
||||||
"version": "2.1.2",
|
"version": "2.1.4",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "out/index.js",
|
"main": "out/index.js",
|
||||||
"types": "out/index.d.ts",
|
"types": "out/index.d.ts",
|
||||||
@ -25,11 +25,11 @@
|
|||||||
"readme.md"
|
"readme.md"
|
||||||
],
|
],
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"concurrently": "^5.0.0",
|
"concurrently": "^5.1.0",
|
||||||
"nodemon": "^1.19.4",
|
"nodemon": "^2.0.2",
|
||||||
"typescript": "^3.7.2"
|
"typescript": "^3.8.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hibas123/utils": "^2.1.1"
|
"@hibas123/utils": "^2.2.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -215,7 +215,7 @@ export class LoggingBase {
|
|||||||
message.forEach((e, i) => {
|
message.forEach((e, i) => {
|
||||||
let formats: Format[] = [];
|
let formats: Format[] = [];
|
||||||
if (typeof e !== "string") {
|
if (typeof e !== "string") {
|
||||||
if (typeof e === "object") {
|
if (e && typeof e === "object") {
|
||||||
if (e[colorSymbol]) {
|
if (e[colorSymbol]) {
|
||||||
formats.push({
|
formats.push({
|
||||||
type: FormatTypes.COLOR,
|
type: FormatTypes.COLOR,
|
||||||
|
Loading…
Reference in New Issue
Block a user