From 163ccbb2a9a0ceb34ca69e0b2b1403890f335a3b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 8 Jan 2024 14:16:37 +0100 Subject: [PATCH] Please rubocop This should fix the following issue: ``` == bin/recog_cleanup == C: 12: 35: [Correctable] Layout/ExtraSpacing: Unnecessary spacing detected. 14 files inspected, 1 offense detected, 1 offense autocorrectable Error: Process completed with exit code 1. ``` --- bin/recog_cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/recog_cleanup b/bin/recog_cleanup index 234ac978..4fa03620 100755 --- a/bin/recog_cleanup +++ b/bin/recog_cleanup @@ -9,7 +9,7 @@ Dir["#{File.expand_path(File.join(File.dirname(__FILE__), '..', 'xml'))}/*.xml"] data = File.read(f) .gsub(/\s+$/, '') # Trailing whitespace and empty lines .gsub('', "\n") # Every fingerprint should have an empty line after it - .gsub('-->', "-->\n") # Every comment should have an empty line after it + .gsub('-->', "-->\n") # Every comment should have an empty line after it File.write(f, data) end