summaryrefslogtreecommitdiff
path: root/lib/chef/environment.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/environment.rb')
-rw-r--r--lib/chef/environment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/environment.rb b/lib/chef/environment.rb
index 9dd1aa408a..0e0f6776ec 100644
--- a/lib/chef/environment.rb
+++ b/lib/chef/environment.rb
@@ -307,7 +307,7 @@ class Chef
def self.validate_cookbook_version(version)
if Chef::Config[:solo_legacy_mode]
raise Chef::Exceptions::IllegalVersionConstraint,
- "Environment cookbook version constraints not allowed in #{Chef::Dist::SOLO}"
+ "Environment cookbook version constraints not allowed in #{Chef::Dist::SOLO}"
else
Chef::VersionConstraint.new version
true