Add comment and change to starts_with

This commit is contained in:
Annie Li 2022-08-24 10:56:47 -07:00
parent 2076cfd42e
commit f647412789

View File

@ -1,6 +1,9 @@
# frozen_string_literal: true # frozen_string_literal: true
if RUBY_VERSION >= "3.1" # Report test coverage to coveralls for only one Ruby version to avoid
# repeated builds. This also accounts for coveralls_reborn requiring
# RUBY_VERSION >= 2.5.
if RUBY_VERSION.start_with?("3.1")
require "coveralls" require "coveralls"
Coveralls.wear! Coveralls.wear!
end end