Closed TheLonelyGhost closed 10 years ago
@TheLonelyGhost Thanks. Looks like some of the specs are failing.
Sorry about that! My pre-commit hooks weren't setup like I thought.
I'd rather not rescue such a generic error since it may become hard to track down other errors that could occur. How about something like:
def remote_sha
@remote_sha ||= begin
sha = @adapter.read(@config[:revision_file])
sha.chomp if sha
end
end
I thought it was a narrow enough scope (read method of the adapter interface) that it wouldn't be an issue, but I suppose it would cause an error of the second kind in some cases when developing an adapter.
See the latest revision for your proposed correction.
Great- thanks!
Fixes #92