mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-21 13:45:44 +01:00
fix tail
This commit is contained in:
parent
b567bdcd2b
commit
3458b57c7d
@ -899,9 +899,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS {
|
|||||||
|
|
||||||
return runningScriptObj.logs.slice();
|
return runningScriptObj.logs.slice();
|
||||||
},
|
},
|
||||||
tail: function (_fn: unknown, _hostname: unknown = workerScript.hostname, ...scriptArgs: any[]): void {
|
tail: function (fn: any, hostname: any = workerScript.hostname, ...scriptArgs: any[]): void {
|
||||||
const fn = helper.string("tail", "fn", _fn);
|
|
||||||
const hostname = helper.string("tail", "hostname", _hostname);
|
|
||||||
updateDynamicRam("tail", getRamCost(Player, "tail"));
|
updateDynamicRam("tail", getRamCost(Player, "tail"));
|
||||||
let runningScriptObj;
|
let runningScriptObj;
|
||||||
if (arguments.length === 0) {
|
if (arguments.length === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user