Skip to content

Commit 1f2fe6d

Browse files
authored
Merge pull request #701 from fortran-lang/gnikit/issue700
bug: activation fails silently on Windows
2 parents 7fadc99 + 8ec21fa commit 1f2fe6d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
7070

7171
### Fixed
7272

73+
- Fixed activation bug on Windows causing the persistent cache to fail
74+
([#700](https://github.com/fortran-lang/vscode-fortran-support/issues/700))
7375
- Fixed bug where the linter's internal cache directory would not always exist
7476
([#698](https://github.com/fortran-lang/vscode-fortran-support/issues/698))
7577
- Fixed bugs in relative path resolution for `fortls`

src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export async function activate(context: vscode.ExtensionContext) {
4848
);
4949
// Linter is always activated but will only lint if compiler !== Disabled
5050
const linterCache = path.join(context.storageUri.fsPath, 'include');
51-
await vscode.workspace.fs.createDirectory(vscode.Uri.parse(linterCache));
51+
await vscode.workspace.fs.createDirectory(vscode.Uri.file(linterCache));
5252
const linter = new FortranLintingProvider(logger, linterCache);
5353
context.subscriptions.push(...(await linter.activate()));
5454
vscode.languages.registerCodeActionsProvider(FortranDocumentSelector(), linter);

0 commit comments

Comments
 (0)