Use prepended modules instead of undef
for OS-specific code
#18305
80.89% of diff hit (target 72.63%)
View this Pull Request on Codecov
80.89% of diff hit (target 72.63%)
Annotations
Check warning on line 16 in Library/Homebrew/extend/os/linux/cleanup.rb
codecov / codecov/patch
Library/Homebrew/extend/os/linux/cleanup.rb#L15-L16
Added lines #L15 - L16 were not covered by tests
Check warning on line 21 in Library/Homebrew/extend/os/linux/cleanup.rb
codecov / codecov/patch
Library/Homebrew/extend/os/linux/cleanup.rb#L19-L21
Added lines #L19 - L21 were not covered by tests
Check warning on line 23 in Library/Homebrew/extend/os/linux/formula.rb
codecov / codecov/patch
Library/Homebrew/extend/os/linux/formula.rb#L23
Added line #L23 was not covered by tests
Check warning on line 11 in Library/Homebrew/extend/os/mac/cleanup.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/cleanup.rb#L11
Added line #L11 was not covered by tests
Check warning on line 10 in Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb#L10
Added line #L10 was not covered by tests
Check warning on line 19 in Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/dev-cmd/bottle.rb#L19
Added line #L19 was not covered by tests
Check warning on line 17 in Library/Homebrew/extend/os/mac/formula.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/formula.rb#L17
Added line #L17 was not covered by tests
Check warning on line 24 in Library/Homebrew/extend/os/mac/formula.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/formula.rb#L24
Added line #L24 was not covered by tests
Check warning on line 33 in Library/Homebrew/extend/os/mac/formula.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/formula.rb#L33
Added line #L33 was not covered by tests
Check warning on line 23 in Library/Homebrew/extend/os/mac/readall.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/readall.rb#L23
Added line #L23 was not covered by tests
Check warning on line 26 in Library/Homebrew/extend/os/mac/readall.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/readall.rb#L26
Added line #L26 was not covered by tests
Check warning on line 28 in Library/Homebrew/extend/os/mac/readall.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/readall.rb#L28
Added line #L28 was not covered by tests
Check warning on line 33 in Library/Homebrew/extend/os/mac/readall.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/readall.rb#L33
Added line #L33 was not covered by tests
Check warning on line 38 in Library/Homebrew/extend/os/mac/readall.rb
codecov / codecov/patch
Library/Homebrew/extend/os/mac/readall.rb#L35-L38
Added lines #L35 - L38 were not covered by tests