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:
Dan 2021-12-19 02:41:21 +00:00
parent 790ffeb8a1
commit 24c7fb2b92
No known key found for this signature in database
GPG Key ID: CD0F515DA7B576B5

@ -33,7 +33,7 @@ export function runProgram(
}
for (const program of Object.values(Programs)) {
if (program.name === programName) {
if (program.name.toLocaleLowerCase() === programName.toLocaleLowerCase()) {
program.run(
router,
terminal,