summaryrefslogtreecommitdiff
path: root/spec/bundler/commands/inject_spec.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2026-01-28 18:35:27 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2026-01-29 20:01:39 +0900
commit5299276e421c3f11c944069fe5c655628634b9e1 (patch)
tree8df76abc767bb0d1fae2ee1861c528b55addd0b0 /spec/bundler/commands/inject_spec.rb
parentb5ecfd1eba928d577d100fc3377375b55bf3cbb1 (diff)
win32: Prevent broken substitution string when variable is undefinedHEADmaster
Avoids an issue where `%undefined:A=B%` expands to a literal `A=B` because the parser fails to find the variable before the colon, then parses the following percent as the next variable expansion. Added a definition check to ensure safe expansion.
Diffstat (limited to 'spec/bundler/commands/inject_spec.rb')
0 files changed, 0 insertions, 0 deletions