« get me outta code hell

expose dataPath and mediaPath in REPL oops - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-03-05 14:13:29 -0400
committer(quasar) nebula <qznebula@protonmail.com>2023-03-05 14:13:29 -0400
commitfa96a52a0671cc1fbe777bf320c2075529142542 (patch)
tree166c283f36b76d7e9a1e2f19047103498fc9cca9
parent06e1503a921ca28c4d4f994ee46a3044acfb3a32 (diff)
expose dataPath and mediaPath in REPL oops
-rw-r--r--src/repl.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repl.js b/src/repl.js
index f9996453..6b6a405e 100644
--- a/src/repl.js
+++ b/src/repl.js
@@ -110,6 +110,8 @@ export default async function bootRepl({
   const replServer = repl.start();
 
   Object.assign(replServer.context, await getContextAssignments({
+    dataPath,
+    mediaPath,
     wikiData,
   }));