Skip to content

Commit 9c89e48

Browse files
committed
Revert the docker command trap
1 parent cb0e006 commit 9c89e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-mono-docker.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if ($null -eq (Get-Command "docker.exe" -ErrorAction SilentlyContinue)) {
1+
trap [Management.Automation.CommandNotFoundException] {
22
Write-Error 'Docker cannot be found. Make sure it is installed and added to the path.'
33
Start-Process -FilePath 'https://docs.docker.com/docker-for-windows/install/'
44
continue;

0 commit comments

Comments
 (0)