Skip to content

Commit 6c48ac8

Browse files
authored
Merge pull request #8 from steviemcg/feature/error-action-preference
Sets ErrorActionPreference to Stop
2 parents 0f56dba + ea67db2 commit 6c48ac8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Create-SitecoreModule-DockerAssetImage.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ param(
3030
[switch] $GenerateCdContentDirectory
3131
)
3232

33+
$ErrorActionPreference = "Stop"
34+
3335
#---------------------------------[Read configuration]------------------------------------------------
3436
$configurationPath = "configuration.json"
3537
$jsonConfiguration = Get-Content -Path $configurationPath | ConvertFrom-Json

0 commit comments

Comments
 (0)