mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 03:21:49 +01:00
Fix #230
This commit is contained in:
parent
eaa7d71fc7
commit
32c5fa514c
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue