Skip to content

Commit

Permalink
Use lower case for bundle name
Browse files Browse the repository at this point in the history
  • Loading branch information
Daishan committed Feb 3, 2021
1 parent 44af155 commit 7e94145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cli/apply/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func readBundle(ctx context.Context, name, baseDir string, opts *Options) (*bund
}

func createName(name, baseDir string) string {
path := filepath.Join(name, baseDir)
path := strings.ToLower(filepath.Join(name, baseDir))
path = disallowedChars.ReplaceAllString(path, "-")
return multiDash.ReplaceAllString(path, "-")
}
Expand Down

0 comments on commit 7e94145

Please sign in to comment.