Skip to content

Commit

Permalink
Update internal/plugins/helm/v1/init.go
Browse files Browse the repository at this point in the history
Co-authored-by: Joe Lanford <[email protected]>
  • Loading branch information
Eric Stroczynski and joelanford authored Jul 24, 2020
1 parent a43cf79 commit 20cfa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/plugins/helm/v1/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (p *initPlugin) Validate() error {
if err != nil {
return fmt.Errorf("error getting current directory: %v", err)
}
p.config.ProjectName = strings.ToLower(path.Base(dir))
p.config.ProjectName = strings.ToLower(filepath.Base(dir))
}
if err := validation.IsDNS1123Label(p.config.ProjectName); err != nil {
return fmt.Errorf("project name (%s) is invalid: %v", p.config.ProjectName, err)
Expand Down

0 comments on commit 20cfa4a

Please sign in to comment.