Skip to content

Commit

Permalink
Aspire: Use bicep for container app deployment (#4286)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellismg authored Oct 4, 2024
1 parent 501d0ab commit e24855e
Show file tree
Hide file tree
Showing 27 changed files with 1,036 additions and 279 deletions.
4 changes: 4 additions & 0 deletions cli/azd/internal/scaffold/funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ func BicepName(name string) string {
return sb.String()
}

func RemoveDotAndDash(name string) string {
return strings.ReplaceAll(strings.ReplaceAll(name, ".", ""), "-", "")
}

// UpperSnakeAlpha returns a name in upper-snake case alphanumeric name separated only by underscores.
//
// Non-alphanumeric characters are discarded, while consecutive separators ('-', '_', and '.') are treated
Expand Down
Loading

0 comments on commit e24855e

Please sign in to comment.