theprogrammablemind_4wp 7.5.8-beta.54 → 7.5.8-beta.55
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
@@ -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
|
}
|