diff --git a/src/Terminal/commands/run.ts b/src/Terminal/commands/run.ts index 25dd83532..c602d56bf 100644 --- a/src/Terminal/commands/run.ts +++ b/src/Terminal/commands/run.ts @@ -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);