mirror of
https://gitlab.com/gitlab-org/gitlab-foss.git
synced 2025-08-20 14:11:11 +00:00
Gitlab::Git::Tree & Blob added
This commit is contained in:
@ -104,7 +104,7 @@ module ExtractsPath
|
||||
|
||||
@tree = Tree.new(@project.repository, @commit.id, @ref, @path)
|
||||
|
||||
raise InvalidPathError if @tree.invalid?
|
||||
raise InvalidPathError unless @tree.exists?
|
||||
rescue RuntimeError, NoMethodError, InvalidPathError
|
||||
not_found!
|
||||
end
|
||||
|
Reference in New Issue
Block a user