mirror of https://github.com/go-gitea/gitea.git
Fix #230
This commit is contained in:
parent
eaa7d71fc7
commit
32c5fa514c
|
@ -12,6 +12,7 @@ import (
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"path"
|
"path"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"unicode/utf8"
|
"unicode/utf8"
|
||||||
|
@ -75,6 +76,8 @@ func LoadRepoConfig() {
|
||||||
|
|
||||||
LanguageIgns = typeFiles[0]
|
LanguageIgns = typeFiles[0]
|
||||||
Licenses = typeFiles[1]
|
Licenses = typeFiles[1]
|
||||||
|
sort.Strings(LanguageIgns)
|
||||||
|
sort.Strings(Licenses)
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewRepoContext() {
|
func NewRepoContext() {
|
||||||
|
|
Loading…
Reference in New Issue