Skip to content

Commit 4c60264

Browse files
viuginick1valich
authored andcommitted
old ruby doesn't support multiline commands
1 parent bc1bd1d commit 4c60264

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/ruby-debug-ide/xml_printer.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,7 @@ def print_load_result(file, exception = nil)
459459
end
460460

461461
def print_element(name, additional_tags = nil)
462-
additional_tags_presentation = additional_tags.nil? ? ''
463-
: additional_tags.map {|tag, value| " #{tag}=\"#{value}\""}.reduce(:+)
462+
additional_tags_presentation = additional_tags.nil? ? '' : additional_tags.map {|tag, value| " #{tag}=\"#{value}\""}.reduce(:+)
464463

465464
print("<#{name}#{additional_tags_presentation}>")
466465
begin

0 commit comments

Comments
 (0)