mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
all the lints
This commit is contained in:
@@ -34,7 +34,7 @@ describe("Netscript Dynamic RAM Calculation/Generation Tests", function() {
|
||||
function runPotentiallyAsyncFunction(fn) {
|
||||
let res = fn();
|
||||
if (res instanceof Promise) {
|
||||
res.catch(() => {});
|
||||
res.catch(() => undefined);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user