mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
lint
This commit is contained in:
@@ -84,7 +84,7 @@ export function mv(
|
||||
|
||||
script.filename = destPath;
|
||||
} else if (srcFile instanceof TextFile) {
|
||||
const textFile = srcFile as TextFile;
|
||||
const textFile = srcFile ;
|
||||
if (!dest.endsWith(".txt")) {
|
||||
terminal.error(`Source and destination files must have the same type`);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user