Skip to content

Commit

Permalink
detect failed inits
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Mar 16, 2024
1 parent 8704578 commit a01788a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/sst/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ func CmdInit(cli *Cli) error {
}

slog.Info("initializing project", "template", template)
initProject(cli)
_, err = initProject(cli)
if err != nil {
return err
}
color.New(color.FgGreen, color.Bold).Print("✓ ")
color.New(color.FgWhite).Println(" Success 🎉")
fmt.Println()
Expand Down

0 comments on commit a01788a

Please sign in to comment.