Skip to content

Commit

Permalink
Don't want trailing EOL
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbASF committed Oct 2, 2024
1 parent 734d3ba commit 4c0b62d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/whimsy/asf/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def self.notice
path = '/srv/whimsy/www/notice.txt'
if File.exist? path
File.open(path) do |fh|
return fh.readline, '/notice.txt'
return fh.readline.chomp, '/notice.txt'
end
end
nil
Expand Down

0 comments on commit 4c0b62d

Please sign in to comment.