From a1a06f0528abbb0a6e7118d8f4c3d2470647158d Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 29 Aug 2017 11:14:50 -0700 Subject: Link to the knife docs in both places where we error on editor We're already doing this same thing in the other location where we throw the editor error. Signed-off-by: Tim Smith --- lib/chef/knife/core/ui.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/knife/core') 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 -- cgit v1.2.1