mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-29 00:28:19 +00:00
chore(atlantis): fix linter errors (#3690)
* chore(atlantis): fix linter errors * fix superfluous-else * revert gitlab check * ignore stub funcs on azuredevops_client * remove fetch-depth * remove fail_on_error * fix plan_step_runner_test.go * more lint fixes --------- Co-authored-by: Dylan Page <dylan.page@autodesk.com>
This commit is contained in:
@@ -85,7 +85,7 @@ func (g *GithubAppController) ExchangeCode(w http.ResponseWriter, r *http.Reques
|
||||
}
|
||||
|
||||
// New redirects the user to create a new GitHub app
|
||||
func (g *GithubAppController) New(w http.ResponseWriter, r *http.Request) {
|
||||
func (g *GithubAppController) New(w http.ResponseWriter, _ *http.Request) {
|
||||
|
||||
if g.GithubSetupComplete {
|
||||
g.respond(w, logging.Error, http.StatusBadRequest, "Atlantis already has GitHub credentials")
|
||||
|
||||
Reference in New Issue
Block a user