aboutsummaryrefslogtreecommitdiff
path: root/src/server/DashSession/DashSessionAgent.ts
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/server/DashSession/DashSessionAgent.ts
parent109abe78646c94903ef423aeb7db213087c4b92d (diff)
new folder
Diffstat (limited to 'src/server/DashSession/DashSessionAgent.ts')
-rw-r--r--src/server/DashSession/DashSessionAgent.ts4
1 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]")