• Yorick Peterse's avatar
    Backport try_megabytes_to_bytes from EE · ae9838d0
    Yorick Peterse authored
    EE adds this method to Gitlab::Utils, which is also required by our
    SimpleCov helper. This prevents us from injecting EE modules into
    Gitlab::Utils, because the necessary bits for this are not yet in place.
    To work around this we just backport try_megabytes_to_bytes, as there's
    no particular reason to keep this in EE only.
utils.rb 3.53 KB