mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 05:35:45 +01:00
remove unnecessary return
This commit is contained in:
parent
caf1a99c1d
commit
74be61cbdd
@ -62,7 +62,6 @@ async function startNetscript2Script(workerScript: WorkerScript): Promise<void>
|
||||
throw `${script.filename} cannot be run because it does not have a main function.`;
|
||||
if (!ns) throw `${script.filename} cannot be run because the NS object hasn't been constructed properly.`;
|
||||
await loadedModule.main(ns);
|
||||
return;
|
||||
}
|
||||
|
||||
async function startNetscript1Script(workerScript: WorkerScript): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user