Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Jul 17, 2024
1 parent 4a20c0f commit 16fc52d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/kaiser/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,7 @@ def ensure_setup
)

homedir_loc = ENV['HOME']
if ENV['_KAISER_POS'] == 'docker'
homedir_loc = ENV['_KAISER_USER_HOME']
end
homedir_loc = ENV['_KAISER_USER_HOME'] if ENV['_KAISER_POS'] == 'docker'

innerdnsconffile = "#{ENV['HOME']}/.kaiser/dnsconf"
outerdnsconffile = "#{homedir_loc}/.kaiser/dnsconf"
Expand Down

0 comments on commit 16fc52d

Please sign in to comment.