pinokiod 3.2.2 → 3.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/kernel/util.js CHANGED
@@ -148,6 +148,7 @@ const log_path = (fullpath, kernel) => {
148
148
  let rel_path = path.relative(api_path, fullpath)
149
149
  let log_root = `${kernel.homedir}${path.sep}logs`
150
150
  let current_log_path = path.resolve(log_root, "shell/cleaned/api", rel_path)
151
+ console.log({ log_path })
151
152
  return current_log_path
152
153
  }
153
154
  const api_path = (fullpath, kernel) => {
@@ -155,6 +156,7 @@ const api_path = (fullpath, kernel) => {
155
156
  let rel_path = path.relative(api_path, fullpath)
156
157
  let api_name = rel_path.split(path.sep)[0]
157
158
  let current_api_path = `${api_path}${path.sep}${api_name}`
159
+ console.log({ current_api_path })
158
160
  return current_api_path
159
161
  }
160
162
  const escapeStringRegexp = (string) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.2.2",
3
+ "version": "3.2.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -933,6 +933,7 @@ class Server {
933
933
  }
934
934
  if (requires_instantiation) {
935
935
  let p = Util.api_path(filepath, this.kernel)
936
+ console.log("p", p)
936
937
  res.render("required_env_editor", {
937
938
  agent: this.agent,
938
939
  theme: this.theme,
@@ -235,7 +235,7 @@ document.addEventListener("DOMContentLoaded", async () => {
235
235
  "Content-Type": "application/json"
236
236
  },
237
237
  body: JSON.stringify({
238
- filepath: "<%-filepath%>",
238
+ filepath: "<%=filepath%>",
239
239
  vals
240
240
  })
241
241
  }).then((res) => {