Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rubocop formatting complaints #606

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/recog_cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -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('</fingerprint>', "</fingerprint>\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
4 changes: 2 additions & 2 deletions xml/favicons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2503,7 +2503,7 @@
<param pos="0" name="service.product" value="SYNAPSE Medical Platform"/>
<param pos="0" name="service.certainty" value="0.5"/>
</fingerprint>

<fingerprint pattern="^6daa3eca79787964627179fd5a1c724d">
<description>b-rayZ</description>
<example>6daa3eca79787964627179fd5a1c724d</example>
Expand Down Expand Up @@ -2552,4 +2552,4 @@
<param pos="0" name="service.certainty" value="0.5"/>
</fingerprint>

</fingerprints>
</fingerprints>
4 changes: 1 addition & 3 deletions xml/telnet_banners.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2257,9 +2257,9 @@
********************************************
* Welcome to SMG1016M *
********************************************

foo.bar.baz login:
-->

<example hw.product="SMG1016M" host.name="foo.bar.baz" _encoding="base64">
DQ0KDQoNKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCg0qI
CAgICAgICAgICAgV2VsY29tZSB0byBTTUcxMDE2TSAgICAgICAgICAgKg0KDSoqKioqKioqKi
Expand Down Expand Up @@ -2299,12 +2299,10 @@
<description>Baxter SIGMA Spectrum Infusion System with Wireless Battery Module</description>
<!--
Welcome to the SIGMA Spectrum Diagnostic Terminal

Wireless Battery Module (802.11a/b/g/n)
MAC Address: 00-40-9d-12-34-56 SW: 20 D29
Sigma Spectrum SN: 1234567 SW: v8.00.01
Radio up since: Fri Mar 1 03:14:24 2019

login:
-->

Expand Down
Loading