Fix show details bug (#647)
check prereqs with -showdetails was executing the prereq command instead of showing the details
This commit is contained in:
committed by
Carrie Roberts
parent
7a26c61e28
commit
c6ea937fb4
+4
-2
@@ -231,8 +231,10 @@ function Invoke-AtomicTest {
|
||||
|
||||
Write-Debug -Message 'Getting executor and build command script'
|
||||
|
||||
if ($ShowDetails -and ($null -ne $finalCommand)) {
|
||||
Write-Information -MessageData $finalCommand -Tags 'Command'
|
||||
if ($ShowDetails) {
|
||||
if ($null -ne $finalCommand){
|
||||
Write-Information -MessageData $finalCommand -Tags 'Command'
|
||||
}
|
||||
}
|
||||
else {
|
||||
$startTime = get-date
|
||||
|
||||
Reference in New Issue
Block a user