Fix broken run command

This commit is contained in:
omuretsu 2023-04-24 12:54:09 -04:00
parent be4b0267a6
commit 3106c03b5b

@ -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);