From 9d0b61d459ba377cfddbce73c2ab314e5a6dacfb Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Wed, 14 Aug 2019 13:50:30 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=AF=E9=80=89=E6=8B=A9=E9=A2=98=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=87=8D=E7=BD=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/myshixuns_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/myshixuns_controller.rb b/app/controllers/myshixuns_controller.rb index c36ad09b6..1af7e482d 100644 --- a/app/controllers/myshixuns_controller.rb +++ b/app/controllers/myshixuns_controller.rb @@ -37,7 +37,7 @@ class MyshixunsController < ApplicationController end end # 删除版本库 - GitService.delete_repository(repo_path: @repo_path) + GitService.delete_repository(repo_path: @repo_path) unless @shixun.is_choice_type? rescue Exception => e if e.message != "ActiveRecord::RecordInvalid" logger.error("######delete_repository_error:#{e.message}")