diff options
author | Saku Ytti <saku@ytti.fi> | 2015-09-14 11:29:10 +0300 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2015-09-14 11:29:10 +0300 |
commit | 3c1c5106ccc3e45d9ab791458a53a252497d0203 (patch) | |
tree | 0d1c87520d239fa3eea74c166c4e12785ff1ae04 /lib/oxidized/source/source.rb | |
parent | c0a00892128562d1c78cce9d8cbc58b723ab4ba7 (diff) |
Fix new line removal
Probably the intention was
cfg.each_line.to_a[1..-3].map(&:rstrip).join("\n")
But as it's just incorrectly removed new line from last line, clearly
the rstrip has not been needed, so not gonna add it unless proven that
it's needed.
Spotted by @nickhilliard
Diffstat (limited to 'lib/oxidized/source/source.rb')
0 files changed, 0 insertions, 0 deletions