Skip to content

Commit

Permalink
Merge pull request #779 from Shopify/oj-mimic-json
Browse files Browse the repository at this point in the history
Only call Oj.mimic_JSON when in a CLI run
  • Loading branch information
casperisfine committed Jan 11, 2021
2 parents bc53f2c + a83fbf1 commit 0c79b76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/krane/cli/krane.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

require 'krane'
require 'krane/oj'
require 'thor'
require 'krane/cli/version_command'
require 'krane/cli/restart_command'
Expand Down
1 change: 0 additions & 1 deletion lib/krane/common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
require 'colorized_string'

require 'krane/version'
require 'krane/oj'
require 'krane/errors'
require 'krane/formatted_logger'
require 'krane/statsd'
Expand Down

0 comments on commit 0c79b76

Please sign in to comment.