COMMAND: Improving error message for mv when a script is Running

* Adjusted error message to include information about making sure scripts are not running when trying to use mv on them.

* nom run format

* Added behaviour info to NetscriptDefinitions.d.ts

* `npm run doc`

* un-nested/inversed the check

* `npm run format`
This commit is contained in:
Chris Farfan de los Godos
2025-07-24 02:27:01 +03:00
committed by GitHub
parent ff106bb764
commit 8f69a6c0ee
4 changed files with 17 additions and 7 deletions

View File

@@ -8215,6 +8215,8 @@ export interface NS {
*
* This function can also be used to rename files.
*
* This function is not able to remove running scripts from their original locations. Make sure to stop any scripts before using this function on them.
*
* @param host - Hostname/IP of target server.
* @param source - Filename of the source file.
* @param destination - Filename of the destination file.