This commit is contained in:
Tim 2015-10-28 14:59:03 +08:00
commit c8d9ce81bf
1 changed files with 6 additions and 2 deletions

View File

@ -42,11 +42,15 @@ module Trustie
end
def repository
project.repository
unless project.nil?
project.repository
end
end
def isGitlabProject?
repository && repository.gitlab?
unless repository.nil?
repository && repository.gitlab?
end
end
end