Skip to content

Commit 1cda2cc

Browse files
committed
style(lint): resolve Naming/PredicateName rubocop complaint
1 parent 39a4868 commit 1cda2cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build-emacs-for-macos

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ class GccInfo
19071907
def clean_macho_binary(path)
19081908
debug "Checking for duplicate RPATHs in #{path}"
19091909
macho_cleaner = MachOCleaner.new(path)
1910-
return unless macho_cleaner.has_duplicate_rpaths?
1910+
return unless macho_cleaner.duplicate_rpaths?
19111911

19121912
begin
19131913
info "Removing duplicate RPATHs from #{path}"
@@ -1971,7 +1971,7 @@ class MachOCleaner
19711971
end
19721972

19731973
# Check if file has duplicate RPATH commands
1974-
def has_duplicate_rpaths?
1974+
def duplicate_rpaths?
19751975
count_duplicate_rpaths(macho_object).positive?
19761976
end
19771977

@@ -2372,7 +2372,7 @@ if __FILE__ == $PROGRAM_NAME
23722372
elsif cli_options[:clean_macho_binary]
23732373
macho_cleaner = MachOCleaner.new(cli_options[:clean_macho_binary])
23742374

2375-
if macho_cleaner.has_duplicate_rpaths?
2375+
if macho_cleaner.duplicate_rpaths?
23762376
build.info 'Removing duplicate RPATHs from ' \
23772377
"#{cli_options[:clean_macho_binary]}..."
23782378
macho_cleaner.clean!

0 commit comments

Comments
 (0)