mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-27 01:53:48 +01:00
commit
8c2bfc32f8
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -887,9 +887,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
||||
}
|
||||
return !workerScript.disableLogs[fn];
|
||||
},
|
||||
getScriptLogs: function (_fn: unknown, _hostname: unknown, ...scriptArgs: any[]): string[] {
|
||||
const fn = helper.string("getScriptLogs", "fn", _fn);
|
||||
const hostname = helper.string("getScriptLogs", "hostname", _hostname);
|
||||
getScriptLogs: function (fn: any, hostname: any, ...scriptArgs: any[]): string[] {
|
||||
updateDynamicRam("getScriptLogs", getRamCost(Player, "getScriptLogs"));
|
||||
const runningScriptObj = getRunningScript(fn, hostname, "getScriptLogs", scriptArgs);
|
||||
if (runningScriptObj == null) {
|
||||
|
Loading…
Reference in New Issue
Block a user