chore(go): Removing unused function
This commit is contained in:
@@ -510,10 +510,6 @@ func matchesIgnoredDir(castleHome string, candidate string, subdirs []string) (b
|
||||
return ok, nil
|
||||
}
|
||||
|
||||
func runGit(dir string, args ...string) error {
|
||||
return runGitWithIO(dir, os.Stdout, os.Stderr, args...)
|
||||
}
|
||||
|
||||
func runGitWithIO(dir string, stdout io.Writer, stderr io.Writer, args ...string) error {
|
||||
cmd := exec.Command("git", args...)
|
||||
cmd.Dir = dir
|
||||
|
||||
Reference in New Issue
Block a user