mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 11:10:58 +02:00
CODEBASE: Fix lint errors 1 (#1732)
This commit is contained in:
@@ -106,7 +106,7 @@ export class RunningScript {
|
||||
|
||||
let logEntry = txt;
|
||||
if (Settings.TimestampsFormat && typeof txt === "string") {
|
||||
logEntry = "[" + formatTime(Settings.TimestampsFormat) + "] " + logEntry;
|
||||
logEntry = `[${formatTime(Settings.TimestampsFormat)}] ${txt}`;
|
||||
}
|
||||
|
||||
this.logs.push(logEntry);
|
||||
|
||||
Reference in New Issue
Block a user