theprogrammablemind 7.5.8-beta.54 → 7.5.8-beta.55
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
@@ -1491,7 +1491,7 @@ const knowledgeModule = async ({
|
|
1491
1491
|
|
1492
1492
|
if (!isProcess) {
|
1493
1493
|
if (template) {
|
1494
|
-
if (config.needsRebuild(template.template, template.instance, {
|
1494
|
+
if (config.needsRebuild(template.template, template.instance, { isModule: !isProcess })) {
|
1495
1495
|
const error = `This module "${config.name}" cannot be used because the instance file needs rebuilding. Run on the command line with no arguments or the -rt argument to rebuild.`
|
1496
1496
|
throw new Error(error)
|
1497
1497
|
}
|