run auto fix lint

This commit is contained in:
Olivier Gagnon
2021-04-29 23:52:56 -04:00
parent 77cb63e36a
commit 3fad505096
183 changed files with 1547 additions and 1546 deletions
+2 -2
View File
@@ -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;
}