From 1cda2cc3ff5f385c5fb6cbdf82a92f04b30268ae Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 14 Sep 2025 20:16:38 +0100 Subject: [PATCH] style(lint): resolve Naming/PredicateName rubocop complaint --- build-emacs-for-macos | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build-emacs-for-macos b/build-emacs-for-macos index c798445..11d2c76 100755 --- a/build-emacs-for-macos +++ b/build-emacs-for-macos @@ -1907,7 +1907,7 @@ class GccInfo def clean_macho_binary(path) debug "Checking for duplicate RPATHs in #{path}" macho_cleaner = MachOCleaner.new(path) - return unless macho_cleaner.has_duplicate_rpaths? + return unless macho_cleaner.duplicate_rpaths? begin info "Removing duplicate RPATHs from #{path}" @@ -1971,7 +1971,7 @@ class MachOCleaner end # Check if file has duplicate RPATH commands - def has_duplicate_rpaths? + def duplicate_rpaths? count_duplicate_rpaths(macho_object).positive? end @@ -2372,7 +2372,7 @@ if __FILE__ == $PROGRAM_NAME elsif cli_options[:clean_macho_binary] macho_cleaner = MachOCleaner.new(cli_options[:clean_macho_binary]) - if macho_cleaner.has_duplicate_rpaths? + if macho_cleaner.duplicate_rpaths? build.info 'Removing duplicate RPATHs from ' \ "#{cli_options[:clean_macho_binary]}..." macho_cleaner.clean!