Skip to content

Commit a330081

Browse files
authored
fix: always activate extension
In rare cases building activating the extension might fail
1 parent 2b4b4e9 commit a330081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export function activate(context: vscode.ExtensionContext) {
1212
return;
1313
}
1414

15-
buildSwiftformatIfNeeded().then(() => {
15+
buildSwiftformatIfNeeded().finally(() => {
1616
const swiftSelector: vscode.DocumentSelector = {
1717
scheme: "file",
1818
language: "swift",

0 commit comments

Comments
 (0)