Skip to content

Commit

Permalink
startup/bootsnap: improve syntax.
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Cabrera <[email protected]>
  • Loading branch information
MikeMcQuaid and carlocab authored Apr 29, 2024
1 parent c55a5e3 commit 279f42a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/startup/bootsnap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
if homebrew_bootsnap_enabled
begin
require "bootsnap"
rescue LoadError => e
raise e if ENV["HOMEBREW_BOOTSNAP_RETRY"]
rescue LoadError
raise if ENV["HOMEBREW_BOOTSNAP_RETRY"]

Homebrew.install_bundler_gems!(groups: ["bootsnap"], only_warn_on_failure: true)

Check warning on line 19 in Library/Homebrew/startup/bootsnap.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/startup/bootsnap.rb#L19

Added line #L19 was not covered by tests

Expand Down

0 comments on commit 279f42a

Please sign in to comment.