mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 17:53:00 +02:00
run auto fix lint
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@ import { dialogBoxCreate } from "../utils/DialogBox";
|
||||
import {
|
||||
Generic_fromJSON,
|
||||
Generic_toJSON,
|
||||
Reviver
|
||||
Reviver,
|
||||
} from "../utils/JSONReviver";
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ export class TextFile {
|
||||
*/
|
||||
text: string;
|
||||
|
||||
constructor(fn: string = "", txt: string = "") {
|
||||
constructor(fn = "", txt = "") {
|
||||
this.fn = (fn.endsWith(".txt") ? fn : `${fn}.txt`).replace(/\s+/g, "");
|
||||
this.text = txt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user