correctly passing timeout through (#813)

This commit is contained in:
Carrie Roberts
2020-01-28 16:40:13 -07:00
committed by GitHub
parent 4193cdc2f1
commit d0f818b011
@@ -1,4 +1,4 @@
function Invoke-ExecuteCommand ($finalCommand, $executor) {
function Invoke-ExecuteCommand ($finalCommand, $executor, $TimeoutSeconds) {
$null = @(
if($null -eq $finalCommand){return 0}
$finalCommand = $finalCommand.trim()