Skip to content

Commit

Permalink
M #-: Add require 'active_support' (#2738)
Browse files Browse the repository at this point in the history
Without the require, commands with --json or --yaml flags fails for
ActiveSupport version 7.0+
  • Loading branch information
paczerny authored Sep 20, 2023
1 parent 4bcb6f7 commit e427a29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cli/one_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,7 @@ def replace_refs(h)
#
# @return [Hash] XSD in hash format, nil if not found
def read_xsd(ename)
require 'active_support'
require 'active_support/core_ext/hash/conversions'

# Try GEM directory
Expand Down

0 comments on commit e427a29

Please sign in to comment.