File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
spec/debugserver/integration/puppet-debugserver Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 3333 }
3434
3535 def modified_puppet_stack_trace
36- # Due to a modification to the way stack traces are treated in Puppet 6.11.0, the stack size is different
36+ # Due to a modification to the way stack traces are treated in Puppet 6.11.0 and 5.5.18 , the stack size is different
3737 # See https://tickets.puppetlabs.com/browse/PUP-10150 for more infomation
38- @modified_puppet_stack_trace ||= Gem ::Version . create ( Puppet . version ) >= Gem ::Version . create ( '6.11.0' )
38+ pup_ver = Gem ::Version . create ( Puppet . version )
39+ return true if pup_ver >= Gem ::Version . create ( '6.11.0' )
40+ return true if pup_ver . canonical_segments . first == 5 && pup_ver >= Gem ::Version . create ( '5.5.18' )
41+ false
3942 end
4043
4144 context 'Processing an empty manifest with no breakpoints' do
You can’t perform that action at this time.
0 commit comments