diff options
| author | Fuwn <[email protected]> | 2026-01-26 10:08:02 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-26 10:08:02 +0000 |
| commit | 204d3d4227161234beb8af5334cd0eecd1b41632 (patch) | |
| tree | 70f4197fa50d767662cd50089d93bd4583df2950 | |
| parent | style: Fix formatting inconsistencies (diff) | |
| download | mugi-204d3d4227161234beb8af5334cd0eecd1b41632.tar.xz mugi-204d3d4227161234beb8af5334cd0eecd1b41632.zip | |
style(git): Return nil slice over empty
| -rw-r--r-- | internal/git/git.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/git.go b/internal/git/git.go index 2455977..a7a3d5a 100644 --- a/internal/git/git.go +++ b/internal/git/git.go @@ -84,7 +84,7 @@ func buildArgs(op remote.Operation, remoteName, repoPath string, force bool) []s case remote.Fetch: return []string{"fetch", remoteName} default: - return []string{} + return nil } } |