refactor: vcs simplification pass

This commit is contained in:
Lewis Wynne 2026-02-11 00:53:14 +00:00
parent 2c9ecd7caf
commit 52c108f7d3
3 changed files with 48 additions and 84 deletions

View file

@ -45,11 +45,11 @@ func init() {
}
func vcsInit(cmd *cobra.Command, args []string) error {
repoDir, err := vcsRepoRoot()
store := &Store{}
repoDir, err := store.path()
if err != nil {
return err
}
store := &Store{}
clean, err := cmd.Flags().GetBool("clean")
if err != nil {