mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-02 13:57:05 +02:00
all the lints
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import { setTimeoutRef } from "./utils/SetTimeoutRef";
|
||||
|
||||
import { isValidIPAddress } from "../utils/helpers/isValidIPAddress";
|
||||
import { isString } from "../utils/helpers/isString";
|
||||
import { AllServers } from "./Server/AllServers";
|
||||
|
||||
export function netscriptDelay(time, workerScript) {
|
||||
return new Promise(function(resolve, reject) {
|
||||
return new Promise(function(resolve) {
|
||||
workerScript.delay = setTimeoutRef(() => {
|
||||
workerScript.delay = null;
|
||||
resolve();
|
||||
@@ -62,6 +61,5 @@ export function isScriptErrorMessage(msg) {
|
||||
if (splitMsg.length != 4){
|
||||
return false;
|
||||
}
|
||||
var ip = splitMsg[1];
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user