trm-client 10.0.6 → 10.0.7
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/changelog.txt +4 -0
- package/dist/utils/GlobalContext.js +1 -5
- package/package.json +1 -1
package/changelog.txt
CHANGED
|
@@ -125,7 +125,7 @@ class GlobalContext {
|
|
|
125
125
|
return this.cloneArrayOfInstances(this._connections);
|
|
126
126
|
}
|
|
127
127
|
setSetting(key, value) {
|
|
128
|
-
if (this._settings
|
|
128
|
+
if (!Object.prototype.hasOwnProperty.call(this._settings, key)) {
|
|
129
129
|
throw new Error(`Invalid key ${key}.`);
|
|
130
130
|
}
|
|
131
131
|
const filePath = this.getSettingsFilePath();
|
|
@@ -220,10 +220,6 @@ class GlobalContext {
|
|
|
220
220
|
settingsData.guiRegistryAutoConnectAlias = defaultSettings.guiRegistryAutoConnectAlias;
|
|
221
221
|
this.generateSettingsFile(settingsData, filePath);
|
|
222
222
|
}
|
|
223
|
-
if (!settingsData.guiSystemAutoConnectAlias) {
|
|
224
|
-
settingsData.guiSystemAutoConnectAlias = defaultSettings.guiSystemAutoConnectAlias;
|
|
225
|
-
this.generateSettingsFile(settingsData, filePath);
|
|
226
|
-
}
|
|
227
223
|
if (settingsData.globalNodeModules) {
|
|
228
224
|
delete settingsData.globalNodeModules;
|
|
229
225
|
this.generateSettingsFile(settingsData, filePath);
|