Skip to content

Quote variable expansions

Tom Hebb requested to merge tchebb/ruby-json:quote-variable-expansions into main

None of these variable have whitespace now, but unquoted expansions make inadvertent whitespace in variables both harder to debug and potentially more dangerous, as they can expand to multiple tokens and push later arguments into unintended positions.

Merge request reports

Loading