diff options
Diffstat (limited to 'src/server/DashSession.ts')
-rw-r--r-- | src/server/DashSession.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/DashSession.ts b/src/server/DashSession.ts index 22bcbadc9..83ce7caaf 100644 --- a/src/server/DashSession.ts +++ b/src/server/DashSession.ts @@ -49,7 +49,7 @@ export class DashSessionAgent extends Session.AppliedSessionAgent { } }); monitor.addReplCommand("pull", [], () => execSync("git pull", { stdio: ["ignore", "inherit", "inherit"] })); - monitor.addReplCommand("solr", [/start|stop/g], args => SolrManager.SetRunning(args[0] === "start")); + monitor.addReplCommand("solr", [/start|stop/], args => SolrManager.SetRunning(args[0] === "start")); return monitor; } |