Skip to content

Commit

Permalink
Fix bug in path creation for new buildpack
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Kutner <[email protected]>
  • Loading branch information
jkutner committed Feb 19, 2021
1 parent 86aab5d commit 9e20ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/commands/buildpack_new.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func BuildpackNew(logger logging.Logger, client BuildpackCreator) *cobra.Command
}

path := filepath.Join(flags.Path, dirName)
if len(path) == 0 {
if len(flags.Path) == 0 {
cwd, err := os.Getwd()
if err != nil {
return err
Expand Down

0 comments on commit 9e20ac0

Please sign in to comment.