feat: refactor requirements.go
This commit is contained in:
parent
55dacbfec2
commit
54f0049c06
2 changed files with 3 additions and 38 deletions
|
|
@ -1,13 +0,0 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
)
|
||||
|
||||
func verifyGitAvailable() error {
|
||||
_, err := exec.LookPath("git")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue