• Sean McGivern's avatar
    Fix truncated_diff_lines for legacy notes without a line · 382421a9
    Sean McGivern authored
    It appears that some legacy diff notes on GitLab.com have invalid line codes,
    which means truncated_diff_lines won't work. This is just a band-aid solution,
    as neither the diff nor the discussion will display correctly for these notes,
    but they won't cause a 500 error.
    382421a9
42160-error-500-loading-merge-request-undefined-method-index-for-nil-nilclass.yml 119 Bytes