NETSCRIPT: Fix a typo in scp (#256)

This commit is contained in:
David Walker 2022-12-19 11:39:03 -08:00 committed by GitHub
parent 5a66045e1d
commit 303c54c85c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -883,7 +883,7 @@ export const ns: InternalAPI<NSFull> = {
continue; continue;
} }
destScript.code = sourceScript.code; destScript.code = sourceScript.code;
destScript.ramUsage = destScript.ramUsage; destScript.ramUsage = sourceScript.ramUsage;
destScript.markUpdated(); destScript.markUpdated();
helpers.log(ctx, () => `WARNING: File '${file}' overwritten on '${destServer?.hostname}'`); helpers.log(ctx, () => `WARNING: File '${file}' overwritten on '${destServer?.hostname}'`);
continue; continue;