Skip to content

Commit

Permalink
telemetry: Recognise new Nomad naming convention (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Mar 6, 2023
1 parent 6f876c8 commit f80b54c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function detectProduct(doc: vscode.TextDocument) {
if (fileName === '.tflint.hcl') {
return 'tflint';
}
if (fileName.endsWith('.nomad')) {
if (fileName.endsWith('.nomad') || fileName.endsWith('.nomad.hcl')) {
return 'nomad';
}
if (fileName.endsWith('.hcl')) {
Expand Down

0 comments on commit f80b54c

Please sign in to comment.