Skip to content

Commit

Permalink
Added casing to provider namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Sep 13, 2023
1 parent 60dbbdc commit fb5c18f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions utilities/tools/helper/Get-SpecsAlignedResourceName.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ function Get-SpecsAlignedResourceName {
}
}

# Format provider namespace as some are inconsistely formatted
$providerNamespace = (Get-Culture -Name 'en-US').TextInfo.ToTitleCase($providerNamespace)

# Build result
return "$providerNamespace/$resourceType"
}

0 comments on commit fb5c18f

Please sign in to comment.