mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-29 12:27:07 +02:00
MISC: Update messages related to text files (#2266)
This commit is contained in:
@@ -19,7 +19,7 @@ export function mv(args: (string | number | boolean)[], server: BaseServer): voi
|
||||
(!hasScriptExtension(sourcePath) && !hasTextExtension(sourcePath)) ||
|
||||
(!hasScriptExtension(destinationPath) && !hasTextExtension(destinationPath))
|
||||
) {
|
||||
return Terminal.error(`'mv' can only be used on scripts and text files (.txt)`);
|
||||
return Terminal.error(`'mv' can only be used on scripts (.js, .jsx, .ts, .tsx) and text files (.txt, .json)`);
|
||||
}
|
||||
|
||||
// Allow content to be moved between scripts and textfiles, no need to limit this.
|
||||
|
||||
Reference in New Issue
Block a user