theprogrammablemind_4wp 7.5.8-beta.62 → 7.5.8-beta.63

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/client.js +1 -1
  2. package/package.json +1 -1
package/client.js CHANGED
@@ -1380,7 +1380,7 @@ const knowledgeModule = async ({
1380
1380
  test = test.name
1381
1381
  }
1382
1382
  } else {
1383
- if (runtime.fs && runtime.fs.existsSync(test)) {
1383
+ if (typeof runtime.fs == 'function' && runtime.fs.existsSync(test)) {
1384
1384
  config.tests = JSON.parse(runtime.fs.readFileSync(test))
1385
1385
  } else {
1386
1386
  config.tests = []
package/package.json CHANGED
@@ -63,6 +63,6 @@
63
63
  "json-stable-stringify": "^1.0.1",
64
64
  "node-fetch": "^2.6.1"
65
65
  },
66
- "version": "7.5.8-beta.62",
66
+ "version": "7.5.8-beta.63",
67
67
  "license": "ISC"
68
68
  }