Skip to content

Commit a680d2e

Browse files
committed
fix: minor bug with persistent cache
in case persistent cache is empty dump the mod files in the cwd
1 parent 5502b49 commit a680d2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/features/linter-provider.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ export class FortranLintingProvider {
426426
const modFlag = this.linter.modFlag;
427427
// Return the workspaces cache directory if the user has not set a custom path
428428
if (modout === '') modout = this.storageUI;
429+
if (!modout) return [];
429430

430431
modout = resolveVariables(modout);
431432
this.logger.debug(`[lint] moduleOutput: ${modFlag} ${modout}`);

0 commit comments

Comments
 (0)