theprogrammablemind_4wp 7.5.8-beta.61 → 7.5.8-beta.63
Sign up to get free protection for your applications and to get access to all the features.
- package/client.js +1 -1
- 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 = []
|