upgrade gopkg.in/editorconfig/editorconfig-core-go.v1 (#8501)

editorconfig-core-go made breaking api changes and has recently released
v2.1.1. This change consumes the new api and fixes up any breaking
references.
This commit is contained in:
Colin Arnott 2019-10-15 21:24:16 +00:00 committed by zeripath
parent 80655026d2
commit 66e99d722a
23 changed files with 394 additions and 121 deletions

View file

@ -19,8 +19,8 @@ import (
"code.gitea.io/gitea/modules/setting"
"gitea.com/macaron/macaron"
"github.com/editorconfig/editorconfig-core-go/v2"
"github.com/unknwon/com"
"gopkg.in/editorconfig/editorconfig-core-go.v1"
)
// PullRequest contains informations to make a pull request