Skip to content

Commit b529c35

Browse files
author
Erik Lenoir
committed
Remove unused variable
1 parent 6ac8ed4 commit b529c35

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/post/multi/gather/maven_creds.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,8 @@ def extract(target)
106106
print_status("Reading settings.xml file from #{target}")
107107
data = ""
108108
if session.type == "shell"
109-
type = :shell
110109
data = session.shell_command("cat #{target}")
111110
else
112-
type = :meterp
113111
settings = session.fs.file.new("#{target}", "rb")
114112
until settings.eof?
115113
data << settings.read

0 commit comments

Comments
 (0)