mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
fix(cli:run) case insensitive calls to program run
Allow the user to run programs (.exe) in a case insensitive manor Resolves danielyxie/bitburner#1958
This commit is contained in:
parent
790ffeb8a1
commit
24c7fb2b92
@ -33,7 +33,7 @@ export function runProgram(
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (const program of Object.values(Programs)) {
|
for (const program of Object.values(Programs)) {
|
||||||
if (program.name === programName) {
|
if (program.name.toLocaleLowerCase() === programName.toLocaleLowerCase()) {
|
||||||
program.run(
|
program.run(
|
||||||
router,
|
router,
|
||||||
terminal,
|
terminal,
|
||||||
|
Loading…
Reference in New Issue
Block a user