strip, not stripgit diff. strip! returns nil if the string was unmodified

bug/bundler_fix
Jon Hart 2015-12-11 19:22:57 -08:00
parent dcdc21e2db
commit 6611da9239
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ module Msf
sock.put(redis_proto(command_parts))
command_response = sock.get_once(-1, read_timeout)
return unless command_response
command_response.strip!
command_response.strip
end
end
end