summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormwrock <matt@mattwrock.com>2020-11-30 16:48:25 -0800
committermwrock <matt@mattwrock.com>2020-11-30 16:48:25 -0800
commitd0fbda0d7f394c52b76735cbac978de2d29487a5 (patch)
treed3862f918401ef84c062b87b81d47009153ee7fb
parent63c8079bc281048f4327c1e4912b88859a7eef69 (diff)
downloadchef-cmdlet.tar.gz
fix typocmdlet
Signed-off-by: mwrock <matt@mattwrock.com>
-rw-r--r--lib/chef/provider/dsc_script.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/dsc_script.rb b/lib/chef/provider/dsc_script.rb
index 5df45f2e7e..d55f060f94 100644
--- a/lib/chef/provider/dsc_script.rb
+++ b/lib/chef/provider/dsc_script.rb
@@ -88,7 +88,7 @@ class Chef
original_env = ENV.to_hash
begin
- ENV.update(@dsc_resource.environmen) if @dsc_resource.environment
+ ENV.update(@dsc_resource.environment) if @dsc_resource.environment
Dir.chdir(cwd) do
Timeout.timeout(@dsc_resource.timeout) do
configuration_document = generate_configuration_document(config_directory, configuration_flags)