2020-05-20 14:08:00 -04:00
|
|
|
# frozen_string_literal: true
|
2022-03-23 20:07:27 -04:00
|
|
|
# This file isn't named "Dangerfile" so that it's not imported by default since it's only meant to be run in the `bundle-size-review` job.
|
2020-05-20 14:08:00 -04:00
|
|
|
|
2022-09-12 11:14:03 -04:00
|
|
|
comment = `cat ./bundle-size-review/comparison.md`
|
2020-05-20 14:08:00 -04:00
|
|
|
|
2020-11-23 04:09:13 -05:00
|
|
|
unless comment.strip.empty?
|
|
|
|
markdown(<<~MARKDOWN)
|
2020-05-20 14:08:00 -04:00
|
|
|
#{comment}
|
2020-11-23 04:09:13 -05:00
|
|
|
MARKDOWN
|
|
|
|
end
|