Skip to content

Commit

Permalink
surface provider init bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Jun 7, 2022
1 parent a3df121 commit f849dfe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/plural/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ func handleInit(c *cli.Context) error {
}

prov, err := runPreflights()
if err != nil {
return err
}
defer prov.Flush()

if !git && affirm("you're attempting to setup plural outside a git repository. would you like us to set one up for you here?") {
Expand Down

0 comments on commit f849dfe

Please sign in to comment.