Skip to content

Commit

Permalink
Merge branch 'master' into fix_branch_selector
Browse files Browse the repository at this point in the history
  • Loading branch information
a1012112796 authored Dec 31, 2020
2 parents 0f3bf8a + ef825bd commit fb23deb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions routers/user/setting/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ func Repos(ctx *context.Context) {
root := filepath.Join(models.UserPath(ctxUser.Name))
if err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
if err != nil {
if os.IsNotExist(err) {
return nil
}
return err
}
if !info.IsDir() || path == root {
Expand Down

0 comments on commit fb23deb

Please sign in to comment.