mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts (#1309)
This commit is contained in:
@@ -34,8 +34,8 @@ This function allows you to automatically purchase programs. You MUST have a TOR
|
||||
|
||||
|
||||
```js
|
||||
const programName = "BruteSSH.exe"
|
||||
const programName = "BruteSSH.exe";
|
||||
const success = ns.singularity.purchaseProgram(programName);
|
||||
if (!success) ns.tprint("ERROR: Failed to purchase ${programName}")
|
||||
if (!success) ns.tprint(`ERROR: Failed to purchase ${programName}`);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user