1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Migrate to go-git/go-git v5.0.0 (#10735)

This commit is contained in:
Lauris BH
2020-03-17 18:19:58 +02:00
committed by GitHub
parent 2f928316db
commit 43c09134a9
315 changed files with 15239 additions and 92420 deletions

2
vendor/gopkg.in/yaml.v2/resolve.go generated vendored
View File

@@ -81,7 +81,7 @@ func resolvableTag(tag string) bool {
return false
}
var yamlStyleFloat = regexp.MustCompile(`^[-+]?[0-9]*\.?[0-9]+([eE][-+][0-9]+)?$`)
var yamlStyleFloat = regexp.MustCompile(`^[-+]?(\.[0-9]+|[0-9]+(\.[0-9]*)?)([eE][-+]?[0-9]+)?$`)
func resolve(tag string, in string) (rtag string, out interface{}) {
if !resolvableTag(tag) {