@hubspot/local-dev-lib 3.5.1 → 3.5.2-beta.0
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/config/migrate.js +4 -2
- package/package.json +1 -1
package/config/migrate.js
CHANGED
|
@@ -98,8 +98,10 @@ function mergeConfigProperties(globalConfig, deprecatedConfig, force) {
|
|
|
98
98
|
];
|
|
99
99
|
const conflicts = [];
|
|
100
100
|
propertiesToCheck.forEach(prop => {
|
|
101
|
-
if (prop in
|
|
102
|
-
if (force ||
|
|
101
|
+
if (prop in deprecatedConfig) {
|
|
102
|
+
if (force ||
|
|
103
|
+
!(prop in globalConfig) ||
|
|
104
|
+
globalConfig[prop] === deprecatedConfig[prop]) {
|
|
103
105
|
// @ts-expect-error Cannot reconcile CLIConfig_NEW and CLIConfig_DEPRECATED types
|
|
104
106
|
globalConfig[prop] = deprecatedConfig[prop];
|
|
105
107
|
}
|
package/package.json
CHANGED