Skip to content

Commit

Permalink
Troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
zinduolis committed Oct 27, 2024
1 parent 050e014 commit b230e5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/beef/modules/debug/test_beef_debugs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
@debug_mod_names_ids = {}
@debug_mods = @debug_mod_ids.to_a.select do |cmd_mod|
puts "cmd_mod:"
p cmd_mod[1]
category = Array(cmd_mod[1]['category']) # Ensure category is always an array
p cmd_mod
category = Array(cmd_mod[1]&.dig('category')) # Ensure category is always an array
category.include?('Debug')
end.map do |debug_mod|
@debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[1]['id']
Expand Down

0 comments on commit b230e5a

Please sign in to comment.