pinokiod 3.2.0 → 3.2.1
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/package.json +1 -1
- package/server/index.js +2 -0
package/package.json
CHANGED
package/server/index.js
CHANGED
|
@@ -349,6 +349,7 @@ class Server {
|
|
|
349
349
|
} else {
|
|
350
350
|
filepath = full_filepath
|
|
351
351
|
}
|
|
352
|
+
console.log({ filepath })
|
|
352
353
|
|
|
353
354
|
// check if it's a folder or a file
|
|
354
355
|
let p = "/api" // run mode
|
|
@@ -915,6 +916,7 @@ class Server {
|
|
|
915
916
|
let pre_items = []
|
|
916
917
|
if (resolved && resolved.pre) {
|
|
917
918
|
let env = await Environment.get2(filepath, this.kernel)
|
|
919
|
+
console.log("ENV.get2", { filepath, env })
|
|
918
920
|
for(let item of resolved.pre) {
|
|
919
921
|
if (item.env) {
|
|
920
922
|
if (env[item.env]) {
|