Skip to content

Commit 6a933bf

Browse files
committed
fix: always activate extension
In rare cases building activating the extension might fail
1 parent fc66f22 commit 6a933bf

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
@@ -13,7 +13,7 @@ export function activate(context: vscode.ExtensionContext) {
1313
return;
1414
}
1515

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

0 commit comments

Comments
 (0)