mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
Fix broken run command
This commit is contained in:
@@ -14,7 +14,6 @@ export function run(args: (string | number | boolean)[], server: BaseServer): vo
|
||||
const path = Terminal.getFilepath(String(arg));
|
||||
if (!path) return Terminal.error(`${args[0]} is not a valid filepath.`);
|
||||
if (hasScriptExtension(path)) {
|
||||
args.shift();
|
||||
return runScript(path, args, server);
|
||||
} else if (hasContractExtension(path)) {
|
||||
Terminal.runContract(path);
|
||||
|
||||
Reference in New Issue
Block a user