Skip to content

Commit 8456cdf

Browse files
committed
Fix CWD for tflint
1 parent 5d0d3ca commit 8456cdf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/lint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export function lintCommand() {
4545
return;
4646
}
4747

48-
const workspaceDir = workspaceFolder.uri.toString();
48+
const workspaceDir = workspaceFolder.uri.fsPath;
4949
lint(configuration["lintPath"], configuration["lintConfig"], workspaceDir)
5050
.then((issues) => {
5151
outputChannel.appendLine(`terraform.lint: ${issues.length} issues`);

0 commit comments

Comments
 (0)