diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index 367eb7bcf..a555a6665 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -193,7 +193,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { throw makeRuntimeRejectMsg( workerScript, `Invalid scriptArgs argument passed into getRunningScript() from ${callingFnName}(). ` + - `This is probably a bug. Please report to game developer`, + `This is probably a bug. Please report to game developer`, ); } @@ -826,7 +826,8 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { workerScript.log( "weaken", () => - `'${server.hostname}' security level weakened to ${server.hackDifficulty + `'${server.hostname}' security level weakened to ${ + server.hackDifficulty }. Gained ${numeralWrapper.formatExp(expGain)} hacking exp (t=${numeralWrapper.formatThreads(threads)})`, ); workerScript.scriptRef.onlineExpGained += expGain; diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 2ed344175..dfc63eee6 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -4994,7 +4994,7 @@ export interface NS { * * @param pid - Optional. PID of the script having its tail closed. If omitted, the current script is used. */ - closeTail(pid?: number): void; + closeTail(pid?: number): void; /** * Get the list of servers connected to a server. diff --git a/src/ui/React/LogBoxManager.tsx b/src/ui/React/LogBoxManager.tsx index eeec501fe..4286b59e3 100644 --- a/src/ui/React/LogBoxManager.tsx +++ b/src/ui/React/LogBoxManager.tsx @@ -255,14 +255,14 @@ function LogWindow(props: IProps): React.ReactElement { minHeight: `${minConstraints[1]}px`, ...(minimized ? { - border: "none", - margin: 0, - maxHeight: 0, - padding: 0, - } + border: "none", + margin: 0, + maxHeight: 0, + padding: 0, + } : { - border: `1px solid ${Settings.theme.welllight}`, - }), + border: `1px solid ${Settings.theme.welllight}`, + }), }} ref={container} >