mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-25 18:50:56 +02:00
DNET: Update documentation (#2483)
This commit is contained in:
committed by
GitHub
parent
e649adfef4
commit
425bff8217
@@ -73,12 +73,6 @@ function heartbleedOptions(ctx: NetscriptContext, opts: unknown): CompleteHeartb
|
||||
};
|
||||
const peek = helpers.boolean(ctx, "options.peek", options.peek);
|
||||
const logsToCapture = helpers.positiveInteger(ctx, "options.logsToCapture", options.logsToCapture);
|
||||
if (logsToCapture > 8) {
|
||||
throw helpers.errorMessage(
|
||||
ctx,
|
||||
`Invalid arguments: "options.logsToCapture" (${options.logsToCapture}) must be smaller than or equal to 8`,
|
||||
);
|
||||
}
|
||||
const additionalMsec = helpers.integer(ctx, "options.additionalMsec", options.additionalMsec);
|
||||
if (additionalMsec < 0) {
|
||||
throw helpers.errorMessage(
|
||||
|
||||
Reference in New Issue
Block a user