Skip to content
This repository has been archived by the owner on Jul 14, 2021. It is now read-only.

Do not request license when users shell-init #2105

Merged
merged 1 commit into from
May 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions lib/chef-dk/command/shell_init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ def fish_shell_export(var, val)
def powershell_export(var, val)
emit_shell_cmd(%Q{$env:#{var}="#{val}"})
end

def check_license_acceptance
# It gives a very weird error if users try to eval the shell-init command and it requests the
# license from them. Instead, let users shell-init without accepting the license.
end
end
end
end