mirror of
https://github.com/go-gitea/gitea
synced 2025-01-03 12:06:01 +01:00
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
parent
0b83cc21be
commit
0734ca0132
@ -97,6 +97,9 @@ func (r *RepositoryRestorer) GetTopics() ([]string, error) {
|
|||||||
|
|
||||||
bs, err := os.ReadFile(p)
|
bs, err := os.ReadFile(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
if os.IsNotExist(err) {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user