From b2ec5d1691284c6b1a1bafac3096f2af4befb404 Mon Sep 17 00:00:00 2001 From: Nikolai Korolev Date: Mon, 7 Mar 2022 11:40:06 +0300 Subject: [PATCH] Fix error message for scp --- src/NetscriptFunctions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NetscriptFunctions.ts b/src/NetscriptFunctions.ts index da3acdb4e..6d7fa2399 100644 --- a/src/NetscriptFunctions.ts +++ b/src/NetscriptFunctions.ts @@ -1121,7 +1121,7 @@ export function NetscriptFunctions(workerScript: WorkerScript): NS { // Invalid file name if (!scriptname.endsWith(".lit") && !isScriptFilename(scriptname) && !scriptname.endsWith("txt")) { - throw makeRuntimeErrorMsg("scp", "Only works for .script, .lit, and .txt files"); + throw makeRuntimeErrorMsg("scp", "Only works for scripts, .lit and .txt files"); } let destServer: BaseServer | null;