Prefer newer hash syntax

bug/bundler_fix
William Vu 2016-06-30 15:42:53 -05:00
parent 5e39f895cf
commit 343f4010bd
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class Export
@owned_hosts = []
@hosts = myworkspace.hosts
@hosts.each do |host|
if host.notes.where(:ntype => 'pro.system.compromise').first
if host.notes.where(ntype: 'pro.system.compromise').first
@owned_hosts << host
end
end