Skip to content
  • Yorick Peterse's avatar
    Backport try_megabytes_to_bytes from EE · 5735cf5d
    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.
    5735cf5d