Skip to content

Commit d1d049b

Browse files
committed
fix: swap file to parse in URI
1 parent 2e153ca commit d1d049b

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
@@ -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.file(linterCache));
51+
await vscode.workspace.fs.createDirectory(vscode.Uri.parse(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)