refactor: revert internal exports
[e-mobility-charging-stations-simulator.git] / src / utils / FileUtils.ts
index 9b7f62e0af7431759af8d56c0f18f37f293d8a67..e08fb128be960b721d99645be66ea11f617419af 100644 (file)
@@ -65,8 +65,7 @@ export class FileUtils {
         logMsg = `${fileType} file ${file} error:`;
     }
     if (params?.consoleOut) {
-      logMsg = `${logMsg} `;
-      console.warn(`${chalk.green(prefix)}${chalk.yellow(logMsg)}`, error);
+      console.warn(`${chalk.green(prefix)}${chalk.yellow(`${logMsg} `)}`, error);
     } else {
       logger.warn(`${prefix}${logMsg}`, error);
     }