mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-26 03:18:44 +03:00
Co-authored-by: zeripath <art27@cantab.net>
This commit is contained in:
@ -98,6 +98,9 @@ func (r *RepositoryRestorer) GetTopics() ([]string, error) {
|
||||
|
||||
bs, err := ioutil.ReadFile(p)
|
||||
if err != nil {
|
||||
if os.IsNotExist(err) {
|
||||
return nil, nil
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user