all the lints

This commit is contained in:
Olivier Gagnon
2021-05-01 03:17:31 -04:00
parent abe0330dc3
commit d745150c45
231 changed files with 1458 additions and 1439 deletions
+1 -3
View File
@@ -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;
}