X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Futils%2FConfiguration.ts;h=f1f43bcfff188f353c10534199895533a34b25fe;hb=44eb6026079c8dc2c77b10a96a42d0c0b2da7c8f;hp=0d0f68e7c9e1e6cf722de298e818f9134e009945;hpb=59395dc149654128f2996f4999bccb66270f54e4;p=e-mobility-charging-stations-simulator.git diff --git a/src/utils/Configuration.ts b/src/utils/Configuration.ts index 0d0f68e7..f1f43bcf 100644 --- a/src/utils/Configuration.ts +++ b/src/utils/Configuration.ts @@ -328,13 +328,13 @@ export default class Configuration { ) { console.error( chalk`{green ${Configuration.logPrefix()}} {red Deprecated configuration key '${key}' usage in section '${sectionName}'${ - logMsgToAppend && '. ' + logMsgToAppend + logMsgToAppend && `. ${logMsgToAppend}` }}` ); } else if (!Configuration.isUndefined(Configuration.getConfig()[key])) { console.error( chalk`{green ${Configuration.logPrefix()}} {red Deprecated configuration key '${key}' usage${ - logMsgToAppend && '. ' + logMsgToAppend + logMsgToAppend && `. ${logMsgToAppend}` }}` ); }