mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 16:52:55 +02:00
fmt, remove corp routing, lint
This commit is contained in:
@@ -29,8 +29,7 @@ export async function executeJSScript(scripts = [], workerScript) {
|
||||
script.markUpdated();
|
||||
urls = _getScriptUrls(script, scripts, []);
|
||||
script.url = urls[urls.length - 1].url;
|
||||
script.module = new Promise((resolve) =>
|
||||
resolve(eval("import(urls[urls.length - 1].url)")),
|
||||
script.module = new Promise((resolve) => resolve(eval("import(urls[urls.length - 1].url)")),
|
||||
);
|
||||
script.dependencies = urls;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user