* fix lint
This commit is contained in:
parent
c3fae4dcb0
commit
1885ac7eca
1 changed files with 0 additions and 4 deletions
|
|
@ -224,10 +224,6 @@ func parseGitHubRefWithBaseURL(repo, githubBaseURL, defaultRef string) (GitHubRe
|
|||
return ref, nil
|
||||
}
|
||||
|
||||
func githubInstallDirName(repo string) (string, error) {
|
||||
return githubInstallDirNameWithBaseURL(repo, "")
|
||||
}
|
||||
|
||||
func githubInstallDirNameWithBaseURL(repo, githubBaseURL string) (string, error) {
|
||||
if !strings.HasPrefix(repo, "http://") && !strings.HasPrefix(repo, "https://") {
|
||||
if err := ValidateInstallTarget(repo); err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue