DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts (#1309)

This commit is contained in:
catloversg
2024-05-28 04:42:31 +07:00
committed by GitHub
parent 70521c9156
commit 48a7eb364f
21 changed files with 64 additions and 52 deletions

View File

@@ -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}`);
```