Skip to content

Commit e2e2aa7

Browse files
Adding explicit ea preference
1 parent 62e5eb8 commit e2e2aa7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Invoke-Deployment.Tests.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if (!$Batch) {
99
# Is not a part of the global batch => import module
1010
#Explicitly import the module for testing
1111
Import-Module "$here\..\dbops.psd1" -Force; Get-DBOModuleFileList -Type internal | ForEach-Object { . $_.FullName }
12+
$ErrorActionPreference = 'Stop'
1213
}
1314
else {
1415
# Is a part of a batch, output some eye-catching happiness

0 commit comments

Comments
 (0)