summaryrefslogtreecommitdiff
path: root/lib/chef/run_list/versioned_recipe_list.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/run_list/versioned_recipe_list.rb')
-rw-r--r--lib/chef/run_list/versioned_recipe_list.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/chef/run_list/versioned_recipe_list.rb b/lib/chef/run_list/versioned_recipe_list.rb
index 803156aef9..514685b72d 100644
--- a/lib/chef/run_list/versioned_recipe_list.rb
+++ b/lib/chef/run_list/versioned_recipe_list.rb
@@ -1,7 +1,7 @@
#
# Author:: Stephen Delano (<stephen@opscode.com>)
# Author:: Seth Falcon (<seth@opscode.com>)
-# Copyright:: Copyright 2010 Opscode, Inc.
+# Copyright:: Copyright 2010-2016 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -71,10 +71,10 @@ class Chef
def with_fully_qualified_names_and_version_constraints
self.map do |recipe_name|
qualified_recipe = if recipe_name.include?('::')
- recipe_name
- else
- "#{recipe_name}::default"
- end
+ recipe_name
+ else
+ "#{recipe_name}::default"
+ end
version = @versions[recipe_name]
qualified_recipe = "#{qualified_recipe}@#{version}" if version