theprogrammablemind_4wp 7.10.0-beta.1 → 7.10.0-beta.3
Sign up to get free protection for your applications and to get access to all the features.
- package/client.js +5 -1
- package/package.json +1 -1
- package/src/config.js +2 -2
package/client.js
CHANGED
@@ -667,7 +667,11 @@ const loadInstance = (config, instance) => {
|
|
667
667
|
global.transitoryMode = transitoryMode
|
668
668
|
}
|
669
669
|
|
670
|
-
const
|
670
|
+
const throwErrorHandler = (error) => {
|
671
|
+
throw error
|
672
|
+
}
|
673
|
+
|
674
|
+
const _process = async (config, query, { initializer, commandLineArgs, credentials, writeTests, isTest, saveDeveloper, rebuildingTemplate, testConfig, testsFN, errorHandler = throwErrorHandler } = {}) => {
|
671
675
|
if (credentials) {
|
672
676
|
config.server(credentials.server, credentials.key)
|
673
677
|
}
|
package/package.json
CHANGED
package/src/config.js
CHANGED
@@ -1103,7 +1103,8 @@ class Config {
|
|
1103
1103
|
}
|
1104
1104
|
}
|
1105
1105
|
|
1106
|
-
|
1106
|
+
const debug = true
|
1107
|
+
if (debug && startOfChanges) {
|
1107
1108
|
console.log('templateQueries[startOfChanges]', templateQueries[startOfChanges]);
|
1108
1109
|
console.log('instanceQueries[startOfChanges]', instanceQueries[startOfChanges]);
|
1109
1110
|
}
|
@@ -1114,7 +1115,6 @@ class Config {
|
|
1114
1115
|
}
|
1115
1116
|
// const sameQueries = helpers.safeEquals(toCanonicalQueries(template.queries || []).map(helpers.updateQueries), toCanonicalQueries(instance.queries || []))
|
1116
1117
|
|
1117
|
-
const debug = false
|
1118
1118
|
if (debug) {
|
1119
1119
|
if (!(instance && sameQueries && sameFragments)) {
|
1120
1120
|
if (!sameQueries) {
|