DOCUMENTATION: Improve wording around host argument of getScriptRam (#2374)

This commit is contained in:
Nick Shelley
2025-11-07 12:57:33 -07:00
committed by GitHub
parent 4ad9a96788
commit d1a4ec8337
2 changed files with 4 additions and 4 deletions

View File

@@ -7968,8 +7968,8 @@ export interface NS {
* Returns 0 if the script does not exist.
*
* @param script - Filename of script. This is case-sensitive.
* @param host - Hostname/IP of target server the script is located on. Optional. Defaults to the server the calling script is running on.
* @returns Amount of RAM (in GB) required to run the specified script on the target server, and 0 if the script does not exist.
* @param host - Hostname/IP of the server the target script is located on. Optional. Defaults to the server the calling script is running on.
* @returns Amount of RAM (in GB) required to run the specified script, and 0 if the script does not exist.
*/
getScriptRam(script: string, host?: string): number;