Skip to content

Commit 72f893b

Browse files
Merge branch 'improve-terraform-opentofu-support' into alpha
2 parents c4f7c65 + 5c1edfe commit 72f893b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/frameworks/terraformFramework.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,17 @@ export class TerraformFramework implements IFramework {
7373

7474
if (!r) {
7575
Logger.verbose(
76-
`[${this.logName}] This is not a Terraform or OpenTofu project. There are no *.tf files in ${path.resolve('.')} folder.`,
76+
`[${this.logName}] This is not a ${this.logName} project. There are no *.tf files in ${path.resolve('.')} folder.`,
7777
);
7878
return false;
7979
} else {
80-
// check if terraform is installed
80+
// check if Terraform or OpenTofu is installed
8181
try {
8282
await execAsync(this.checkInstalledCommand);
8383
return true;
8484
} catch {
8585
Logger.verbose(
86-
`[${this.logName}] This is not a ${this.logName} project. Terraform is not installed.`,
86+
`[${this.logName}] This is not a ${this.logName} project. ${this.logName} is not installed.`,
8787
);
8888
return false;
8989
}

0 commit comments

Comments
 (0)