From 1fa2c558609358e48ec4f3f4077708aa958ef2df Mon Sep 17 00:00:00 2001 From: PerpetuaLux <7905544+PerpetuaLux@users.noreply.github.com> Date: Fri, 24 Jan 2025 17:13:54 +0000 Subject: [PATCH] BUGFIX: Changed no such file run command error to include all executable types (#1918) --- src/Terminal/commands/runProgram.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terminal/commands/runProgram.ts b/src/Terminal/commands/runProgram.ts index 491b83590..b2d2e23d8 100644 --- a/src/Terminal/commands/runProgram.ts +++ b/src/Terminal/commands/runProgram.ts @@ -14,7 +14,7 @@ export function runProgram(path: ProgramFilePath, args: (string | number | boole const realProgramName = getRecordKeys(Programs).find((name) => name.toLowerCase() === programLowered); if (!realProgramName || !Player.hasProgram(realProgramName)) { Terminal.error( - `No such (exe, script, js, or cct) file! (Only finished programs that exist on your home computer or scripts on ${server.hostname} can be run)`, + `No such (js, jsx, ts, tsx, script, cct, or exe) file! (Only finished programs that exist on your home computer or scripts on ${server.hostname} can be run)`, ); return; }