Skip to content

Commit 5099036

Browse files
committed
Better fix for gitpod-io/gitpod#17224
This will work also when the connection fail
1 parent acd96b7 commit 5099036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/settingsSync.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class SettingsSync extends Disposable {
117117

118118
this._register(vscode.workspace.onDidChangeConfiguration(async e => {
119119
if (e.affectsConfiguration('gitpod.host') || e.affectsConfiguration('configurationSync.store')) {
120-
if (e.affectsConfiguration('git') && e.affectsConfiguration('javascript')) {
120+
if (e.affectsConfiguration('[javascript]') && e.affectsConfiguration('[markdown]')) {
121121
// Seems onDidChangeConfiguration fires many times while resolving the remote (once with all settings),
122122
// and because now we active the extension earlier with onResolveRemoteAuthority we get this false positive
123123
// event, so ignore it if more settings are affected at the same time.

0 commit comments

Comments
 (0)