From 071d155d4cd9b6eba00dbf7c9a63b5e457e12f6d Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Mon, 9 Sep 2019 18:14:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9B=E5=BB=BA=E7=A7=81=E5=AF=86=E4=BB=93?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/shixuns_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 8eb1573ca..00c018cbd 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -1030,7 +1030,7 @@ private # 防止跟tpm版本库重名,加了前缀secret repo_path = repo_namespace(current_user.login, "secret_#{@shixun.identifier}") GitService.add_repository(repo_path: repo_path) - @shixun.shixun_secret_repository.create!(repo_name: repo_path.split(".")[0]) + @shixun.shixun_secret_repository.create(repo_name: repo_path.split(".")[0]) end end