bin/pwn_bdba_groups in pwn-0.4.765 vs bin/pwn_bdba_groups in pwn-0.4.766
- old
+ new
@@ -51,10 +51,10 @@
if list_group_name || parent_group_name
groups_resp = PWN::Plugins::BlackDuckBinaryAnalysis.get_groups(
token: token
)
- raise 'No groups found in BDBA. Use the --create flag to create one.' if group_resp.nil?
+ raise 'No groups found in BDBA. Use the --create flag to create one.' if groups_resp.nil?
group_arr = groups_resp[:groups].select { |g| g[:name] == list_group_name }
group_arr_sorted = group_arr.sort_by { |g| g[:id] }
group = group_arr_sorted.last