Skip to content

Commit 2e153ca

Browse files
committed
bug: internal vscode module output
Fixes #698
1 parent e38983e commit 2e153ca

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-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 bug where the linter's internal cache directory would not always exist
74+
([#698](https://github.com/fortran-lang/vscode-fortran-support/issues/698))
7375
- Fixed bugs in relative path resolution for `fortls`
7476
([#693](https://github.com/fortran-lang/vscode-fortran-support/issues/693))
7577
- Fixed issues with linter unittests running asynchronously

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ export async function activate(context: vscode.ExtensionContext) {
4747
})
4848
);
4949
// Linter is always activated but will only lint if compiler !== Disabled
50-
const linterCache = path.join(context.storageUri.fsPath);
50+
const linterCache = path.join(context.storageUri.fsPath, 'include');
51+
await vscode.workspace.fs.createDirectory(vscode.Uri.file(linterCache));
5152
const linter = new FortranLintingProvider(logger, linterCache);
5253
context.subscriptions.push(...(await linter.activate()));
5354
vscode.languages.registerCodeActionsProvider(FortranDocumentSelector(), linter);

updates/RELEASE_NOTES-unreleased.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,3 +207,6 @@ which is slower but does not suffer from this issue.
207207
The cache used by the linter should help mitigate any performance issues.
208208

209209
## 🐛 Bug Fixes 🐛
210+
211+
- Fixed bug where the linter's internal cache directory would not always exist
212+
([#698](https://github.com/fortran-lang/vscode-fortran-support/issues/698))

0 commit comments

Comments
 (0)