Skip to content

Commit

Permalink
debian: fix empty line detection
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 12, 2025
1 parent 7ab2b5d commit a2a8bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubygems-requirements-system/platform/debian.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def install_command_line_repository(repository)
next if value.nil?
if value.include?("\n")
sources.puts("#{key}:")
value.each_line do |line|
value.each_line(chomp: true) do |line|
if line.empty?
sources.puts(" .")
else
Expand Down

0 comments on commit a2a8bf7

Please sign in to comment.