mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-21 08:42:53 +02:00
DOCUMENTATION: Fix wrong examples in NetscriptDefinitions.d.ts (#1295)
This commit is contained in:
@@ -40,7 +40,7 @@ Note that creating a program using this function has the same hacking level requ
|
||||
|
||||
```js
|
||||
const programName = "BruteSSH.exe";
|
||||
const success = ns.createProgram(programName);
|
||||
const success = ns.singularity.createProgram(programName);
|
||||
if (!success) ns.tprint("ERROR: Failed to start working on ${programName}")
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user