diff options
author | sanga17 <sausekar@msystechnologies.com> | 2020-03-17 12:37:41 +0530 |
---|---|---|
committer | sanga17 <sausekar@msystechnologies.com> | 2020-03-17 12:39:04 +0530 |
commit | 57a367f5aef2ce2ce0627fe1a3f3eca5e1921145 (patch) | |
tree | 22395ae17a5426a9b33b03b869f1f1cc60dc0797 | |
parent | 115179c7ee4c5933e31c6ea8d6d58ffeeec7d3f3 (diff) | |
download | chef-57a367f5aef2ce2ce0627fe1a3f3eca5e1921145.tar.gz |
Unwanted code removed
Signed-off-by: sanga17 <sausekar@msystechnologies.com>
-rw-r--r-- | lib/chef/provider/package/powershell.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/powershell.rb b/lib/chef/provider/package/powershell.rb index 63dec4ef27..01fe603363 100644 --- a/lib/chef/provider/package/powershell.rb +++ b/lib/chef/provider/package/powershell.rb @@ -36,7 +36,7 @@ class Chef def define_resource_requirements super - if powershell_version.to_i < 5 + if powershell_version < 5 raise "Minimum installed PowerShell Version required is 5" end |