File tree 2 files changed +4
-4
lines changed 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -267,10 +267,10 @@ func main() {
267
267
logVerbose ("batch cmd: %s %v" , subCmd , substArgs )
268
268
switch subCmd {
269
269
case "gitea-fmt" :
270
- cmdErrors = append (cmdErrors , passThroughCmd ("gofmt" , substArgs ))
271
270
if containsString (subArgs , "-w" ) {
272
271
cmdErrors = append (cmdErrors , giteaFormatGoImports (files ))
273
272
}
273
+ cmdErrors = append (cmdErrors , passThroughCmd ("gofmt" , substArgs ))
274
274
case "misspell" :
275
275
cmdErrors = append (cmdErrors , passThroughCmd ("misspell" , substArgs ))
276
276
default :
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ import (
11
11
"code.gitea.io/gitea/models/login"
12
12
user_model "code.gitea.io/gitea/models/user"
13
13
"code.gitea.io/gitea/modules/log"
14
+ "code.gitea.io/gitea/services/auth/source/oauth2"
15
+ "code.gitea.io/gitea/services/auth/source/smtp"
14
16
15
17
_ "code.gitea.io/gitea/services/auth/source/db" // register the sources (and below)
16
18
_ "code.gitea.io/gitea/services/auth/source/ldap" // register the ldap source
17
- "code.gitea.io/gitea/services/auth/source/oauth2"
18
- _ "code.gitea.io/gitea/services/auth/source/pam" // register the pam source
19
- "code.gitea.io/gitea/services/auth/source/smtp"
19
+ _ "code.gitea.io/gitea/services/auth/source/pam" // register the pam source
20
20
_ "code.gitea.io/gitea/services/auth/source/sspi" // register the sspi source
21
21
)
22
22
You can’t perform that action at this time.
0 commit comments