Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/pod_lib_lint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ def main(args)
command.push('--analyze') if analyze

command.push(*pod_args)
puts command.join(' ')
# Quote arguments containing curly braces to ensure they are treated as literal strings
# by the shell when the command is copy-pasted, preventing unintended brace expansion.
puts command.map { |arg| arg =~ /[{}]/ ? "'#{arg}'" : arg }.join(' ')

# Run the lib lint command in a thread.
pod_lint_status = 1
Expand Down
Loading