mirror of
https://github.com/grdl/git-get.git
synced 2026-02-10 19:34:17 +00:00
Fix issues found by wsl linter
This commit is contained in:
@@ -33,6 +33,7 @@ func handleGitGetInvocation() (string, []string) {
|
||||
if len(os.Args) > 1 && (os.Args[1] == "get" || os.Args[1] == "list") {
|
||||
return os.Args[1], os.Args[2:]
|
||||
}
|
||||
|
||||
return "get", os.Args[1:]
|
||||
}
|
||||
|
||||
@@ -44,6 +45,7 @@ func handleDefaultInvocation() (string, []string) {
|
||||
if len(os.Args) > 1 {
|
||||
return os.Args[1], os.Args[2:]
|
||||
}
|
||||
|
||||
return "get", []string{}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user