Skip to content

Commit 7a3d63d

Browse files
authored
Update build.ps1
1 parent 6452ca0 commit 7a3d63d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ServicePulse.Host/build.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ New-Item -ItemType Directory -Force -Path $AppOutputFolder
1010

1111
Push-Location $FrontendSourceFolder
1212
npm audit --audit-level=info
13+
14+
if ( $? -eq $false ) {
15+
exit $LastExitCode
16+
}
17+
1318
npm install
1419
npm run build
1520
Remove-Item -Path "./dist/mockServiceWorker.js"

0 commit comments

Comments
 (0)