Skip to content

Commit

Permalink
Merge 06eb24d into 7062321
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFriel authored Jan 26, 2023
2 parents 7062321 + 06eb24d commit b5a519a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/tfbridge/names.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (

"github.com/gedex/inflector"
"github.com/pulumi/pulumi/sdk/v3/go/common/resource"
"github.com/pulumi/pulumi/sdk/v3/go/common/util/contract"

shim "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim"
)
Expand Down Expand Up @@ -102,8 +101,6 @@ func TerraformToPulumiName(name string, sch shim.Schema, ps *SchemaInfo, upper b
casingActivated := false // tolerate leading underscores
for i, c := range name {
if c == '_' && casingActivated {
// skip underscores and make sure the next one is capitalized.
contract.Assertf(!nextCap, "Unexpected duplicate underscore: %v", name)
nextCap = true
} else {
if c != '_' && !casingActivated {
Expand Down

0 comments on commit b5a519a

Please sign in to comment.