Skip to content

Commit f2a71a4

Browse files
committed
Use \&\& instead of and
1 parent 31c2821 commit f2a71a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/post/windows/gather/enum_muicache.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def enumerate_muicache(muicache_reg_keys, sys_users, sys_paths, muicache, hive_f
107107
# the content collected from there.
108108
print_status("User #{user}: Enumerating registry..")
109109
subkeys.each do |key|
110-
if key[0] != "@" and key != "LangID" and not key.nil?
110+
if key[0] != "@" && key != "LangID" && !key.nil?
111111
result = check_file_exists(key, user)
112112
results << result unless result.nil?
113113
end
@@ -188,7 +188,7 @@ def hive_parser(local_hive_copy, muicache, user)
188188

189189
muicache_key_values.each do |value|
190190
key = value.name
191-
if key[0] != "@" and key != "LangID" and not key.nil?
191+
if key[0] != "@" && key != "LangID" && !key.nil?
192192
result = check_file_exists(key, user)
193193
results << result unless result.nil?
194194
end

0 commit comments

Comments
 (0)