Skip to content

Commit

Permalink
Correct casing
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Aug 22, 2023
1 parent c4a203e commit dc1421a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/kamal/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ class HookError < StandardError; end
end

# SSHKit uses instance eval, so we need a global const for ergonomics
Kamal = Kamal::Commander.new
KAMAL = Kamal::Commander.new
4 changes: 2 additions & 2 deletions test/cli/cli_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ class CliTestCase < ActiveSupport::TestCase
ENV["VERSION"] = "999"
ENV["RAILS_MASTER_KEY"] = "123"
ENV["MYSQL_ROOT_PASSWORD"] = "secret123"
Object.send(:remove_const, :Kamal)
Object.const_set(:Kamal, Kamal::Commander.new)
Object.send(:remove_const, :KAMAL)
Object.const_set(:KAMAL, Kamal::Commander.new)
end

teardown do
Expand Down

0 comments on commit dc1421a

Please sign in to comment.