fix: attendre l'écriture de la config avant d'annoncer « URL set successfully »
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
});
|
||||
|
||||
if (url) {
|
||||
vscode.workspace.getConfiguration().update('vscodestat.url', url, vscode.ConfigurationTarget.Global);
|
||||
await vscode.workspace.getConfiguration().update('vscodestat.url', url, vscode.ConfigurationTarget.Global);
|
||||
vscode.window.showInformationMessage('URL set successfully.');
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user