diff options
author | Tim Smith <tsmith@chef.io> | 2018-01-02 14:55:58 -0800 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-01-02 14:55:58 -0800 |
commit | 476013cbede26aa4bfe5c0ec373bd80b306e4540 (patch) | |
tree | 7946344fd3c7bf932380fe4954c43acfde56f009 /lib/chef/knife/core | |
parent | 19ea1bd1e6f01d28b29d3cccbfb7388ea5aff030 (diff) | |
download | chef-476013cbede26aa4bfe5c0ec373bd80b306e4540.tar.gz |
Update the knife editor error message to point to the correct documentnew_knife_doc
I updated the structure of the knife documentation a while back and we have a dedicated doc for setting up knife now.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/knife/core')
-rw-r--r-- | lib/chef/knife/core/ui.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/ui.rb b/lib/chef/knife/core/ui.rb index 484c3ab3de..b2efbd8b8f 100644 --- a/lib/chef/knife/core/ui.rb +++ b/lib/chef/knife/core/ui.rb @@ -172,7 +172,7 @@ class Chef tf.sync = true tf.puts output tf.close - raise "Please set EDITOR environment variable. See https://docs.chef.io/knife_using.html for details." unless system("#{config[:editor]} #{tf.path}") + raise "Please set EDITOR environment variable. See https://docs.chef.io/knife_setup.html for details." unless system("#{config[:editor]} #{tf.path}") output = IO.read(tf.path) end |