fix bug
This commit is contained in:
parent
52a315c0e0
commit
9a36c8e08c
4
index.js
4
index.js
@ -40,13 +40,13 @@ bl.log = function (logText, logType) {
|
|||||||
logText = localBl.normalPrefix + logText.cyan.bold;
|
logText = localBl.normalPrefix + logText.cyan.bold;
|
||||||
break;
|
break;
|
||||||
case 'ok':
|
case 'ok':
|
||||||
logText = localBl.okPrefix + logText.italic;
|
logText = localBl.okPrefix + logText.bold;
|
||||||
break;
|
break;
|
||||||
case 'success':
|
case 'success':
|
||||||
logText = localBl.successPrefix + logText.green.bold;
|
logText = localBl.successPrefix + logText.green.bold;
|
||||||
break;
|
break;
|
||||||
case 'warn':
|
case 'warn':
|
||||||
logText = localBl.warnPrefix + logText.italic;
|
logText = localBl.warnPrefix + logText.bold;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logText.blue.bold;
|
logText.blue.bold;
|
||||||
|
@ -40,13 +40,13 @@ bl.log = function (logText, logType) {
|
|||||||
logText = localBl.normalPrefix + logText.cyan.bold;
|
logText = localBl.normalPrefix + logText.cyan.bold;
|
||||||
break;
|
break;
|
||||||
case 'ok':
|
case 'ok':
|
||||||
logText = localBl.okPrefix + logText.italic;
|
logText = localBl.okPrefix + logText.bold;
|
||||||
break;
|
break;
|
||||||
case 'success':
|
case 'success':
|
||||||
logText = localBl.successPrefix + logText.green.bold;
|
logText = localBl.successPrefix + logText.green.bold;
|
||||||
break;
|
break;
|
||||||
case 'warn':
|
case 'warn':
|
||||||
logText = localBl.warnPrefix + logText.italic;
|
logText = localBl.warnPrefix + logText.bold;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logText.blue.bold;
|
logText.blue.bold;
|
||||||
|
@ -1 +1 @@
|
|||||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,IAAI,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC;AAC/B,IAAI,GAAG,GAAG,OAAO,CAAC,WAAW,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ACvB,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AACpC,CAAC,CAAC;AAEF;;;;GAIG;AACH,EAAE,CAAC,IAAI,GAAG,UAAS,OAAO;IACtB,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AACnC,CAAC,CAAC;AAEF;;;;GAIG;AACH,EAAE,CAAC,EAAE,GAAG,UAAS,OAAO;IACpB,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACjC,CAAC,CAAC;AAEF;;;;GAIG;AACH,EAAE,CAAC,OAAO,GAAG,UAAS,OAAO;IACzB,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;AACtC,CAAC,CAAA;AAED;;;;GAIG;AACH,EAAE,CAAC,IAAI,GAAG,UAAS,OAAO;IACtB,MAAM,CAAC,EAAE,CAAC,GAAG,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AACnC,CAAC,CAAA;AAED,MAAM,CAAC,OAAO,GAAG,EAAE,CAAC"}
|
@ -42,13 +42,13 @@ bl.log = (logText:string = 'empty log',logType:string = 'normal') => {
|
|||||||
logText = localBl.normalPrefix + logText.cyan.bold;
|
logText = localBl.normalPrefix + logText.cyan.bold;
|
||||||
break;
|
break;
|
||||||
case 'ok':
|
case 'ok':
|
||||||
logText = localBl.okPrefix + logText.italic;
|
logText = localBl.okPrefix + logText.bold;
|
||||||
break;
|
break;
|
||||||
case 'success':
|
case 'success':
|
||||||
logText = localBl.successPrefix + logText.green.bold;
|
logText = localBl.successPrefix + logText.green.bold;
|
||||||
break;
|
break;
|
||||||
case 'warn':
|
case 'warn':
|
||||||
logText = localBl.warnPrefix + logText.italic;
|
logText = localBl.warnPrefix + logText.bold;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
logText.blue.bold;
|
logText.blue.bold;
|
||||||
|
Loading…
Reference in New Issue
Block a user