summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2021-01-26 11:26:09 -0800
committerGitHub <noreply@github.com>2021-01-26 11:26:09 -0800
commit4dd4801b18591143ae8fee95c0e9804d8c5de177 (patch)
tree6dba11c6015bc658117e5e7eb53095fc7c2c4c5b /lib
parentb72661da6701088e63cc9b62b404cbb89d0befff (diff)
parent076dea67488fd5b8dfdc4761b92e80e4a4041fc1 (diff)
downloadchef-4dd4801b18591143ae8fee95c0e9804d8c5de177.tar.gz
Merge pull request #10935 from chef/interpolation
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/util/dsc/configuration_generator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/dsc/configuration_generator.rb b/lib/chef/util/dsc/configuration_generator.rb
index 7785dc3990..8ca6249a9d 100644
--- a/lib/chef/util/dsc/configuration_generator.rb
+++ b/lib/chef/util/dsc/configuration_generator.rb
@@ -106,7 +106,7 @@ class Chef::Util::DSC
# The name may not be null or empty, and should start with a letter.
def validate_configuration_name!(configuration_name)
if !!(configuration_name =~ /\A[A-Za-z]+[_a-zA-Z0-9]*\Z/) == false
- raise ArgumentError, 'Configuration `#{configuration_name}` is not a valid PowerShell cmdlet name'
+ raise ArgumentError, "Configuration `#{configuration_name}` is not a valid PowerShell cmdlet name"
end
end