aboutsummaryrefslogtreecommitdiffstats
path: root/modules/validation
diff options
context:
space:
mode:
authorBwko <bouwko@gmail.com>2018-06-04 07:34:44 +0200
committerLauris BH <lauris@nix.lv>2018-06-04 08:34:44 +0300
commit1f877f8c875891d3647c9a6413abc02aa5787109 (patch)
tree176b0f9113b9ec36040cac5aea7e714634b55d40 /modules/validation
parentfb1daad13d26f34617e91891b45617471ffb5520 (diff)
downloadgitea-1f877f8c875891d3647c9a6413abc02aa5787109.tar.gz
gitea-1f877f8c875891d3647c9a6413abc02aa5787109.zip
Add tag check to release draft creation (#3729)
Diffstat (limited to 'modules/validation')
-rw-r--r--modules/validation/binding.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/validation/binding.go b/modules/validation/binding.go
index 3f671890b6..7aaed59c12 100644
--- a/modules/validation/binding.go
+++ b/modules/validation/binding.go
@@ -19,7 +19,7 @@ const (
)
var (
- // GitRefNamePattern is regular expression wirh unallowed characters in git reference name
+ // GitRefNamePattern is regular expression with unallowed characters in git reference name
GitRefNamePattern = regexp.MustCompile("[^\\d\\w-_\\./]")
)