summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-08-29 11:14:50 -0700
committerTim Smith <tsmith@chef.io>2017-08-29 11:14:50 -0700
commita1a06f0528abbb0a6e7118d8f4c3d2470647158d (patch)
treeaf12352eb642ad653b28a07f7630cbbcb310f812
parent3c42edc942619b634a3f3dc7e44cf4699532f208 (diff)
downloadchef-a1a06f0528abbb0a6e7118d8f4c3d2470647158d.tar.gz
Link to the knife docs in both places where we error on editorknife_doc
We're already doing this same thing in the other location where we throw the editor error. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/knife/core/ui.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/core/ui.rb b/lib/chef/knife/core/ui.rb
index d809a8fc45..484c3ab3de 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" unless system("#{config[:editor]} #{tf.path}")
+ raise "Please set EDITOR environment variable. See https://docs.chef.io/knife_using.html for details." unless system("#{config[:editor]} #{tf.path}")
output = IO.read(tf.path)
end