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,12 +42,16 @@ module Trustie
end
def repository
unless project.nil?
project.repository
end
end
def isGitlabProject?
unless repository.nil?
repository && repository.gitlab?
end
end
end