Skip to content

Commit

Permalink
Handle clone or pull error
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Bersani <[email protected]>
  • Loading branch information
B3rs committed Jan 23, 2024
1 parent 03c12a9 commit dd59df1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/batch.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ func batchCmd(configPath, logLevel, logFormat *string) *cobra.Command {
exit(err)

for _, project := range projects {
cloneOrPull(git, project)
err := cloneOrPull(git, project)
exit(err)
}
fmt.Println("Done!")

Expand Down

0 comments on commit dd59df1

Please sign in to comment.