mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 02:32:55 +02:00
Unify error handling
This commit is contained in:
@@ -286,7 +286,7 @@ export async function determineAllPossibilitiesForTabCompletion(
|
||||
});
|
||||
if (!script) return; // Doesn't exist.
|
||||
//Will return the already compiled module if recompilation not needed.
|
||||
const loadedModule = await compile(p, script, currServ.scripts);
|
||||
const loadedModule = await compile(script, currServ.scripts);
|
||||
if (!loadedModule || !loadedModule.autocomplete) return; // Doesn't have an autocomplete function.
|
||||
|
||||
const runArgs = { "--tail": Boolean, "-t": Number };
|
||||
|
||||
Reference in New Issue
Block a user