summaryrefslogtreecommitdiff
path: root/lib/chef/knife/node_from_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/node_from_file.rb')
-rw-r--r--lib/chef/knife/node_from_file.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/knife/node_from_file.rb b/lib/chef/knife/node_from_file.rb
index 66f2a466fd..3c43c69bbf 100644
--- a/lib/chef/knife/node_from_file.rb
+++ b/lib/chef/knife/node_from_file.rb
@@ -16,16 +16,16 @@
# limitations under the License.
#
-require 'chef/knife'
+require "chef/knife"
class Chef
class Knife
class NodeFromFile < Knife
deps do
- require 'chef/node'
- require 'chef/json_compat'
- require 'chef/knife/core/object_loader'
+ require "chef/node"
+ require "chef/json_compat"
+ require "chef/knife/core/object_loader"
end
banner "knife node from file FILE (options)"
@@ -36,7 +36,7 @@ class Chef
def run
@name_args.each do |arg|
- updated = loader.load_from('nodes', arg)
+ updated = loader.load_from("nodes", arg)
updated.save