Inconsitent file size indication across different CI pages
Applies to gitlab.com.
One or the other indicator is wrong.
This issue is the precision: 2
in app/views/projects/artifacts/_tree_file.html.haml
:
[1] pry(main)> number_to_human_size(1024*1024*104)
=> "104 MB"
[2] pry(main)> number_to_human_size(1024*1024*104, precision: 2)
=> "100 MB"
I think we can simply remove it and fall back to the default precision of 3.
Edited by Taurie Davis