theprogrammablemind 7.10.0-beta.4 → 7.10.0-beta.6
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 +2 -0
- package/package.json +1 -1
package/client.js
CHANGED
@@ -1768,6 +1768,7 @@ const knowledgeModuleImpl = async ({
|
|
1768
1768
|
|
1769
1769
|
if (template) {
|
1770
1770
|
let needsRebuild
|
1771
|
+
console.log('template.template needs rebuild', template.template)
|
1771
1772
|
if (args.rebuildTemplate && !args.rebuildTemplateFull) {
|
1772
1773
|
// get the startOfChanges for the partial rebuild
|
1773
1774
|
needsRebuild = config.needsRebuild(template.template, template.instance, { ...options, rebuild: false })
|
@@ -2042,6 +2043,7 @@ const knowledgeModuleImpl = async ({
|
|
2042
2043
|
}
|
2043
2044
|
|
2044
2045
|
if (template) {
|
2046
|
+
console.log('template.template needs rebuild', template.template)
|
2045
2047
|
if (config.needsRebuild(template.template, template.instance, { isModule: !isProcess }).needsRebuild) {
|
2046
2048
|
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.`
|
2047
2049
|
throw new Error(error)
|