Skip to content

Commit c62fa3d

Browse files
Remove cd command that can't work in shells (#66)
1 parent da5e4de commit c62fa3d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

arc/cmd/clone.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ var (
4242

4343
fmt.Printf("Cloned successfully to %s/n", filepath+"/"+repo.Name)
4444

45-
fmt.Println("Now cd'ing into the directory.")
46-
47-
aCmd = exec.Command("cd", filepath+"/"+repo.Name)
48-
stdout, err = aCmd.Output()
49-
if err != nil {
50-
fmt.Printf("%s/n", stdout)
51-
return err
52-
}
53-
5445
return nil
5546
},
5647
}

0 commit comments

Comments
 (0)