Skip to content

Commit a806707

Browse files
author
Erik Lenoir
committed
Fix typo
1 parent 682851a commit a806707

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/post/multi/gather/maven_creds.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def run
6161
when 'unix', 'linux', 'bsd', 'osx'
6262
files = gathernix
6363
else
64-
print_error("Incompatible platform.")
64+
print_error("Incompatible platform")
6565
end
6666
if files.nil? || files.empty?
6767
print_error("No settings.xml file found")
@@ -97,6 +97,7 @@ def parse_settings(target, data)
9797

9898
print_status("Try to find url from id...")
9999
realm = ""
100+
100101
xml_doc.xpath("//mirror[id = '#{id}']").each do |mirror|
101102
realm = mirror.xpath("url").text
102103
print_status("Found url in mirror : #{realm}")

0 commit comments

Comments
 (0)