lib/kitchen/configurable.rb in test-kitchen-1.12.0 vs lib/kitchen/configurable.rb in test-kitchen-1.13.0

- old
+ new

@@ -253,10 +253,10 @@ # require `PATH` to find the `ruby.exe` binary # @api private def reload_ps1_path [ %{$env:PATH}, - %{[System.Environment]::GetEnvironmentVariable("PATH","Machine")\n\n} + %(try { [System.Environment]::GetEnvironmentVariable("PATH","Machine") } catch {}\n\n) ].join(" = ") end # Builds a shell environment variable assignment string for the # required shell type.