diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 912b70b03e05325ca0e4cd45166b579dab3ea068..457df5fc7b42dfd91daeb1b911164f89bb7dc79f 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -532,7 +532,7 @@ class FormulaAuditor
       end
     end
 
-    versioned_conflicts_whitelist = %w[node@ bash-completion@]
+    versioned_conflicts_whitelist = %w[node@ bash-completion@].freeze
 
     return unless formula.conflicts.any? && formula.versioned_formula?
     return if formula.name.start_with?(*versioned_conflicts_whitelist)