add logger
This commit is contained in:
parent
84145a9fff
commit
9e1124f0e4
|
@ -8,6 +8,7 @@ class RepositoriesService
|
|||
status = -1
|
||||
# 判断版本库创建者是否有同名版本库,避免版本库路径一致问题
|
||||
unless is_sigle_identifier?(project.user_id, params_repository.first[1]) # first[1]表示identifier
|
||||
Rails.logger.info("!!!!!!!!!!!!!!!!!!!!!!!is_single_identifier......")
|
||||
return status, nil
|
||||
else
|
||||
attrs = {:attrs => {:identifier => params_repository.first[1]}, :attrs_extra => {}}
|
||||
|
|
Loading…
Reference in New Issue