mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-16 06:18:42 +02:00
BUGFIX: Changed no such file run command error to include all executable types (#1918)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user