Skip to content

Commit ed2f01c

Browse files
committed
Don't fail if the file does not exist
1 parent 088ab60 commit ed2f01c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServicePulse.Host/build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if ( $? -eq $false ) {
1717

1818
npm install
1919
npm run build
20-
Remove-Item -Path "./dist/mockServiceWorker.js"
20+
Remove-Item -Path "./dist/mockServiceWorker.js" -ErrorAction SilentlyContinue
2121
Pop-Location
2222

2323
Copy-Item -path $FrontendSourceFolder/dist/* -Destination $AppOutputFolder -Recurse

0 commit comments

Comments
 (0)