We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abfaf75 commit b52e116Copy full SHA for b52e116
src/configuration/configuration.ts
@@ -18,6 +18,8 @@ export function initConfiguration(context: vscode.ExtensionContext) {
18
await updateLanguageServerApiUrl(context);
19
resetGitHubContext();
20
await vscode.commands.executeCommand("github-actions.explorer.refresh");
21
+ } else if (e.affectsConfiguration(getSettingsKey("validation.secrets"))) {
22
+ await restartLanguageServer(context);
23
}
24
})
25
);
@@ -87,3 +89,8 @@ async function updateLanguageServerApiUrl(context: vscode.ExtensionContext) {
87
89
88
90
await initLanguageServer(context);
91
92
+
93
+async function restartLanguageServer(context: vscode.ExtensionContext) {
94
+ await deactivateLanguageServer();
95
+ await initLanguageServer(context);
96
+}
0 commit comments