Skip to content

Commit

Permalink
Treat all languages in import as shell (except terraform)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejressel committed Sep 22, 2024
1 parent 8aac164 commit 4c336bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tfgen/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1276,7 +1276,7 @@ func (p *tfMarkdownParser) parseImports(subsection []string) {
}

// Handle script blocks - replace terraform import with pulumi import
if trimmedSection == "```" || trimmedSection == "```sh" || trimmedSection == "```shell" {
if strings.HasPrefix(trimmedSection, "```") {
initial := true
for {
section = subsection[i]
Expand Down

0 comments on commit 4c336bd

Please sign in to comment.