mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
minor error message tweak
This commit is contained in:
parent
b05645a61c
commit
a1af0318d8
@ -20,8 +20,11 @@ export function runProgram(
|
|||||||
const programName = args[0] + "";
|
const programName = args[0] + "";
|
||||||
|
|
||||||
if (!player.hasProgram(programName)) {
|
if (!player.hasProgram(programName)) {
|
||||||
terminal.error(`No such (exe, script, js, or ns) file! (Only programs that exist on your home computer or scripts on ${player.getCurrentServer().hostname
|
terminal.error(
|
||||||
} can be run)`);
|
`No such (exe, script, js, ns, or cct) file! (Only programs that exist on your home computer or scripts on ${
|
||||||
|
player.getCurrentServer().hostname
|
||||||
|
} can be run)`,
|
||||||
|
);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user