mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 15:43:49 +01:00
await compiel
This commit is contained in:
parent
61a51519eb
commit
22048d6ba6
@ -302,7 +302,7 @@ export async function determineAllPossibilitiesForTabCompletion(
|
|||||||
const script = currServ.scripts.find((script) => script.filename === filename);
|
const script = currServ.scripts.find((script) => script.filename === filename);
|
||||||
if (!script) return; // Doesn't exist.
|
if (!script) return; // Doesn't exist.
|
||||||
if (!script.module) {
|
if (!script.module) {
|
||||||
compile(script, currServ.scripts);
|
await compile(script, currServ.scripts);
|
||||||
}
|
}
|
||||||
const loadedModule = await script.module;
|
const loadedModule = await script.module;
|
||||||
if (!loadedModule.autocomplete) return; // Doesn't have an autocomplete function.
|
if (!loadedModule.autocomplete) return; // Doesn't have an autocomplete function.
|
||||||
|
Loading…
Reference in New Issue
Block a user