aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/server/DashSession/DashSessionAgent.ts4
-rw-r--r--src/server/DashSession/templates/crash_instructions.txt (renamed from src/server/DashSession/crash_instructions.txt)0
-rw-r--r--src/server/DashSession/templates/remote_debug_instructions.txt (renamed from src/server/DashSession/remote_debug_instructions.txt)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/server/DashSession/DashSessionAgent.ts b/src/server/DashSession/DashSessionAgent.ts
index b031c177e..8061da1ca 100644
--- a/src/server/DashSession/DashSessionAgent.ts
+++ b/src/server/DashSession/DashSessionAgent.ts
@@ -54,7 +54,7 @@ export class DashSessionAgent extends AppliedSessionAgent {
private _remoteDebugInstructions: string | undefined;
private generateDebugInstructions = (zipName: string, target: string) => {
if (!this._remoteDebugInstructions) {
- this._remoteDebugInstructions = readFileSync(resolve(__dirname, "./remote_debug_instructions.txt"), { encoding: "utf8" });
+ this._remoteDebugInstructions = readFileSync(resolve(__dirname, "./templates/remote_debug_instructions.txt"), { encoding: "utf8" });
}
return this._remoteDebugInstructions
.replace(/__zipname__/, zipName)
@@ -68,7 +68,7 @@ export class DashSessionAgent extends AppliedSessionAgent {
private _crashInstructions: string | undefined;
private generateCrashInstructions({ name, message, stack }: Error) {
if (!this._crashInstructions) {
- this._crashInstructions = readFileSync(resolve(__dirname, "./crash_instructions.txt"), { encoding: "utf8" });
+ this._crashInstructions = readFileSync(resolve(__dirname, "./templates/crash_instructions.txt"), { encoding: "utf8" });
}
return this._crashInstructions
.replace(/__name__/, name || "[no error name found]")
diff --git a/src/server/DashSession/crash_instructions.txt b/src/server/DashSession/templates/crash_instructions.txt
index 65417919d..65417919d 100644
--- a/src/server/DashSession/crash_instructions.txt
+++ b/src/server/DashSession/templates/crash_instructions.txt
diff --git a/src/server/DashSession/remote_debug_instructions.txt b/src/server/DashSession/templates/remote_debug_instructions.txt
index c279c460a..c279c460a 100644
--- a/src/server/DashSession/remote_debug_instructions.txt
+++ b/src/server/DashSession/templates/remote_debug_instructions.txt