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
@@ -41,6 +41,6 @@ Note that creating a program using this function has the same hacking level requ
```js
const programName = "BruteSSH.exe";
const success = ns.singularity.createProgram(programName);
if (!success) ns.tprint("ERROR: Failed to start working on ${programName}")
if (!success) ns.tprint(`ERROR: Failed to start working on ${programName}`);
```