aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2020-01-10 14:14:05 -0500
committerSam Wilkins <samwilkins333@gmail.com>2020-01-10 14:14:05 -0500
commitcfba84bdfee74407b9dcbe80505f527ddb4b0433 (patch)
tree73e361116a07ebdcd8de0e3e7eedc7f112c6cf59 /src
parent109abe78646c94903ef423aeb7db213087c4b92d (diff)
new folder
Diffstat (limited to 'src')
-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