Attempt at logging line number on netscript error

This commit is contained in:
Olivier Gagnon
2021-03-10 01:27:14 -05:00
parent 1b8214b6fa
commit e2a353fc8a
4 changed files with 80 additions and 48 deletions

View File

@@ -29,6 +29,9 @@ export class Script {
// Filename for the script file
filename: string = "";
// url of the script if any, only for NS2.
url: string = "";
// The dynamic module generated for this script when it is run.
// This is only applicable for NetscriptJS
module: any = "";