fix null error when using -Cleanup and -ShowDetails (#555)
This commit is contained in:
committed by
Michael Haag
parent
95f2a5ed6f
commit
06c3bb433a
+1
-1
@@ -209,7 +209,7 @@ function Invoke-AtomicTest {
|
||||
|
||||
Write-Debug -Message 'Getting executor and build command script'
|
||||
|
||||
if ($ShowDetails) {
|
||||
if ($ShowDetails -and ($null -ne $finalCommand)) {
|
||||
Write-Information -MessageData $finalCommand -Tags 'Command'
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user