Merge branch 'develop' into standalone_develop

This commit is contained in:
yystopf 2022-09-06 09:00:24 +08:00
commit 36443a54d8
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ class Contents::CreateForm < BaseForm
validates :filepath, presence: true
validates :new_branch, length: { maximum: 50 }, message: "分支名称过长仅支持50的长度"
validate :check_branch
def check_branch