From ff0eb89406ea9f3f5fa50c88be8424959679e029 Mon Sep 17 00:00:00 2001 From: Sam Wilkins Date: Thu, 22 Oct 2020 12:40:03 -0700 Subject: Single line rename --- src/server/DashSession/Session/agents/server_worker.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/DashSession/Session/agents/server_worker.ts b/src/server/DashSession/Session/agents/server_worker.ts index afa5fc68d..6a19bfa5d 100644 --- a/src/server/DashSession/Session/agents/server_worker.ts +++ b/src/server/DashSession/Session/agents/server_worker.ts @@ -113,8 +113,8 @@ export class ServerWorker extends IPCMessageReceiver { this.shouldServerBeResponsive = false; // communicates via IPC to the master thread that it should dispatch a crash notification email const { name, message, stack } = error; - const deconstructed_error: ErrorLike = { name, message, stack }; - this.emit(Monitor.IntrinsicEvents.CrashDetected, { error: deconstructed_error }); + const errorLike: ErrorLike = { name, message, stack }; + this.emit(Monitor.IntrinsicEvents.CrashDetected, { error: errorLike }); await this.executeExitHandlers(error); // notify master thread (which will log update in the console) of crash event via IPC this.lifecycleNotification(red(`crash event detected @ ${new Date().toUTCString()}`)); -- cgit v1.2.3-70-g09d2 From 3df5e8413db0e2c234e454574e8c98a8776bb7cd Mon Sep 17 00:00:00 2001 From: usodhi <61431818+usodhi@users.noreply.github.com> Date: Wed, 28 Oct 2020 00:04:17 +0530 Subject: testing startup script --- package.json | 2 +- startup.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 startup.sh diff --git a/package.json b/package.json index ecbadcb92..13849c0f3 100644 --- a/package.json +++ b/package.json @@ -263,4 +263,4 @@ "xoauth2": "^1.2.0", "xregexp": "^4.3.0" } -} \ No newline at end of file +} diff --git a/startup.sh b/startup.sh new file mode 100644 index 000000000..ed4fc7bf7 --- /dev/null +++ b/startup.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cd /c/Users/dash/Documents/Dash-Web +npm run start-release +# works for dash-release \ No newline at end of file -- cgit v1.2.3-70-g09d2 From cd46479376dcc2ac9e6b81535802abffa537106d Mon Sep 17 00:00:00 2001 From: usodhi <61431818+usodhi@users.noreply.github.com> Date: Wed, 28 Oct 2020 00:57:25 +0530 Subject: dummy change --- src/server/DashSession/DashSessionAgent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/DashSession/DashSessionAgent.ts b/src/server/DashSession/DashSessionAgent.ts index 03ba33fee..d2d8fd1e8 100644 --- a/src/server/DashSession/DashSessionAgent.ts +++ b/src/server/DashSession/DashSessionAgent.ts @@ -29,6 +29,7 @@ export class DashSessionAgent extends AppliedSessionAgent { * Installs event hooks, repl commands and additional IPC listeners. */ protected async initializeMonitor(monitor: Monitor): Promise { + const sessionKey = Utils.GenerateGuid(); await this.dispatchSessionPassword(sessionKey); monitor.addReplCommand("pull", [], () => monitor.exec("git pull")); -- cgit v1.2.3-70-g09d2 From d3728063935f372f4f6a8a6260d013a5e6d4750f Mon Sep 17 00:00:00 2001 From: usodhi <61431818+usodhi@users.noreply.github.com> Date: Wed, 28 Oct 2020 00:58:56 +0530 Subject: undoing dummy change --- src/server/DashSession/DashSessionAgent.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/server/DashSession/DashSessionAgent.ts b/src/server/DashSession/DashSessionAgent.ts index d2d8fd1e8..03ba33fee 100644 --- a/src/server/DashSession/DashSessionAgent.ts +++ b/src/server/DashSession/DashSessionAgent.ts @@ -29,7 +29,6 @@ export class DashSessionAgent extends AppliedSessionAgent { * Installs event hooks, repl commands and additional IPC listeners. */ protected async initializeMonitor(monitor: Monitor): Promise { - const sessionKey = Utils.GenerateGuid(); await this.dispatchSessionPassword(sessionKey); monitor.addReplCommand("pull", [], () => monitor.exec("git pull")); -- cgit v1.2.3-70-g09d2 From f324c57498e8c8dcd2e97f77c53eac49948ae7ce Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 29 Oct 2020 09:22:00 +0000 Subject: changed startup.sh for browndash --- startup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/startup.sh b/startup.sh index ed4fc7bf7..64d751ff3 100644 --- a/startup.sh +++ b/startup.sh @@ -1,4 +1,4 @@ #!/bin/bash -cd /c/Users/dash/Documents/Dash-Web +cd /c/Users/dash/Desktop/Dash-Web npm run start-release -# works for dash-release \ No newline at end of file +# works for browndash -- cgit v1.2.3-70-g09d2 From f7f3185c3f624d9b10557933d03bb499291ec74d Mon Sep 17 00:00:00 2001 From: usodhi <61431818+usodhi@users.noreply.github.com> Date: Thu, 29 Oct 2020 14:54:47 +0530 Subject: added both to startup.sh --- startup.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/startup.sh b/startup.sh index 64d751ff3..c558f0fe2 100644 --- a/startup.sh +++ b/startup.sh @@ -2,3 +2,7 @@ cd /c/Users/dash/Desktop/Dash-Web npm run start-release # works for browndash + +# cd /c/Users/dash/Documents/Dash-Web +# npm run start-release +# works for dash-release \ No newline at end of file -- cgit v1.2.3-70-g09d2 From f717fe11d003fe5fc029c6a90df41208db3ceb54 Mon Sep 17 00:00:00 2001 From: usodhi <61431818+usodhi@users.noreply.github.com> Date: Thu, 29 Oct 2020 14:55:27 +0530 Subject: added both now? --- startup.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/startup.sh b/startup.sh index c558f0fe2..6554b5666 100644 --- a/startup.sh +++ b/startup.sh @@ -1,8 +1,4 @@ #!/bin/bash -cd /c/Users/dash/Desktop/Dash-Web +cd /c/Users/dash/Desktop/Dash-Web # cd /c/Users/dash/Documents/Dash-Web instead for dash-release npm run start-release -# works for browndash - -# cd /c/Users/dash/Documents/Dash-Web -# npm run start-release -# works for dash-release \ No newline at end of file +# works for browndash \ No newline at end of file -- cgit v1.2.3-70-g09d2