a little bug fix (#665)

* a little bug fix

* remove invoke call at the end
This commit is contained in:
Carrie Roberts
2019-11-15 07:05:02 -07:00
committed by Michael Haag
parent 59f2b264e9
commit c86cb7ddbf
@@ -234,8 +234,8 @@ function Invoke-AtomicTest {
if ($ShowDetails) {
if ($null -ne $finalCommand){
$executor_name = $test.executor.name
Write-Information -MessageData "executor": $executor_name -Tags 'Name'
Write-Information -MessageData $test.executor.elevation_required -Tags 'Name'
Write-Information -MessageData "Executor: $executor_name" -Tags 'Name'
Write-Information -MessageData "ElevationRequired: $($($test.executor).elevation_required)`nCommand:`n" -Tags 'Elevation'
Write-Information -MessageData $finalCommand -Tags 'Command'
}
}
@@ -302,4 +302,4 @@ function Invoke-AtomicTest {
} # End of PROCESS block
END { } # Intentionally left blank and can be removed
}
}