From 7c02a230dc970c2946770f6893e35c627b6b1ec0 Mon Sep 17 00:00:00 2001 From: Wild Kat Date: Wed, 12 Sep 2018 11:23:45 +0200 Subject: add a new line after guard clauses for better visual flow (#1520) --- lib/oxidized/model/aireos.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/oxidized/model/aireos.rb') diff --git a/lib/oxidized/model/aireos.rb b/lib/oxidized/model/aireos.rb index 84bbb3f..e8e1f30 100644 --- a/lib/oxidized/model/aireos.rb +++ b/lib/oxidized/model/aireos.rb @@ -44,6 +44,7 @@ class Aireos < Oxidized::Model cfg.each_line do |line| next if line.match /^\s*$/ next if line.match /rogue (adhoc|client) (alert|Unknown) [\da-f]{2}:/ + line = line[1..-1] if line[0] == "\r" out << line.strip end -- cgit v1.2.1