fix: attendre l'écriture de la config avant d'annoncer « URL set successfully »

This commit is contained in:
2026-07-31 14:52:02 +02:00
parent 8fb2196e67
commit 087dc3dad1
+1 -1
View File
@@ -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.');
}
});