Commit 440a62cb authored by Eduardo Bonet's avatar Eduardo Bonet

Improving readibility

parent a3271dd4
......@@ -131,9 +131,13 @@ class BlobPresenter < Gitlab::View::Presenter::Delegated
return blob.data
end
return Gitlab::AppLogger.info('IPYNBDIFF_BLOB_NIL') && blob.data unless new_blob
Gitlab::AppLogger.info('IPYNBDIFF_BLOB_GENERATED') && new_blob
if new_blob
Gitlab::AppLogger.info('IPYNBDIFF_BLOB_GENERATED')
new_blob
else
Gitlab::AppLogger.info('IPYNBDIFF_BLOB_NIL')
blob.data
end
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment