theprogrammablemind 7.5.8-beta.62 → 7.5.8-beta.63
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/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 = []
|