Skip to content

Commit 453720f

Browse files
committedFeb 25, 2024
minor change
1 parent ad81d4c commit 453720f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
 

‎src/extension.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ export function activate(context: vscode.ExtensionContext) {
1212
const currentVersion = context.extension.packageJSON.version as string;
1313
const lastVersion = context.globalState.get('version') as string ?? '0.0.0';
1414
if (currentVersion === lastVersion) return;
15-
updateSnippets(context).then(() =>
16-
context.globalState.update('version', currentVersion)
17-
);
15+
updateSnippets(context)
16+
.then(() => context.globalState.update('version', currentVersion));
1817
}
1918

2019
function onConfigurationChanged(context: vscode.ExtensionContext, e: vscode.ConfigurationChangeEvent) {

0 commit comments

Comments
 (0)
Please sign in to comment.