Post::Windows::Registry.normalize_key: Return hive without trailing slash
This commit is contained in:
parent
44ef271623
commit
e99783f329
|
@ -668,7 +668,7 @@ protected
|
|||
raise ArgumentError, "Cannot normalize unknown key: #{key}"
|
||||
end
|
||||
# print_status("Normalized #{key} to #{keys.join("\\")}")
|
||||
return keys.join("\\")
|
||||
return keys.compact.join("\\")
|
||||
end
|
||||
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue