mirror of
https://github.com/grdl/git-get.git
synced 2026-02-05 16:33:48 +00:00
Fix issues found by mirror linter
This commit is contained in:
@@ -34,6 +34,7 @@ type Cmd struct {
|
||||
// Git creates a git command with given arguments.
|
||||
func Git(args ...string) *Cmd {
|
||||
ctx := context.Background()
|
||||
|
||||
return &Cmd{
|
||||
cmd: exec.CommandContext(ctx, "git", args...),
|
||||
args: strings.Join(args, " "),
|
||||
|
||||
Reference in New Issue
Block a user