project alert/error messages
This commit is contained in:
parent
b7614c714e
commit
ccfae82723
10 changed files with 101 additions and 63 deletions
|
@ -74,9 +74,9 @@ class Repository
|
|||
end
|
||||
|
||||
def repo_exists?
|
||||
repo && !repo.branches.empty?
|
||||
@repo_exists ||= (repo && !repo.branches.empty?)
|
||||
rescue
|
||||
false
|
||||
@repo_exists = false
|
||||
end
|
||||
|
||||
def tags
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue