Skip to content

Commit

Permalink
fix: place repo fetch/clone in a more suitable place
Browse files Browse the repository at this point in the history
  • Loading branch information
EyalPazz committed Nov 18, 2024
1 parent 9ff9df5 commit b9f4776
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmd/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ func RootCmd(cmd *cobra.Command, region, services, tag, project, env, projectFil
return
}

if err = utils.RefreshRepo(passphrase); err != nil {
fmt.Println(err)
return
}

serviceList, err := getServices(services, project, env, projectFile)
if err != nil {
fmt.Println(err)
Expand All @@ -36,11 +41,6 @@ func RootCmd(cmd *cobra.Command, region, services, tag, project, env, projectFil
return
}

if err = utils.RefreshRepo(passphrase); err != nil {
fmt.Println(err)
return
}

ctx := context.Background()

var changeLog []types.ServiceChanges
Expand Down

0 comments on commit b9f4776

Please sign in to comment.