summaryrefslogtreecommitdiff
path: root/lib/chef/knife/core/ui.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/core/ui.rb')
-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 ee92127898..d6c21ee411 100644
--- a/lib/chef/knife/core/ui.rb
+++ b/lib/chef/knife/core/ui.rb
@@ -173,7 +173,7 @@ class Chef
def edit_data(data, parse_output = true)
output = Chef::JSONCompat.to_json_pretty(data)
- if (!config[:disable_editing])
+ if !config[:disable_editing]
Tempfile.open([ "knife-edit-", ".json" ]) do |tf|
tf.sync = true
tf.puts output