We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad81d4c commit 453720fCopy full SHA for 453720f
src/extension.ts
@@ -12,9 +12,8 @@ export function activate(context: vscode.ExtensionContext) {
12
const currentVersion = context.extension.packageJSON.version as string;
13
const lastVersion = context.globalState.get('version') as string ?? '0.0.0';
14
if (currentVersion === lastVersion) return;
15
- updateSnippets(context).then(() =>
16
- context.globalState.update('version', currentVersion)
17
- );
+ updateSnippets(context)
+ .then(() => context.globalState.update('version', currentVersion));
18
}
19
20
function onConfigurationChanged(context: vscode.ExtensionContext, e: vscode.ConfigurationChangeEvent) {
0 commit comments