diff --git a/bin/shorebird.ps1 b/bin/shorebird.ps1 index bc8b363e..7885d900 100644 --- a/bin/shorebird.ps1 +++ b/bin/shorebird.ps1 @@ -1,6 +1,8 @@ # This is the windows equivalent of the `third_party/flutter/bin/internal/shared.sh` script # compiles `shorebird_cli/bin/shorebird_cli.dart` to `bin/cache/shorebird.shapshot` +$ErrorActionPreference = "Stop" + # We are running from $shorebirdRootDir\bin $shorebirdBinDir = (Get-Item $PSScriptRoot).FullName $shorebirdRootDir = (Get-Item $shorebirdBinDir\..\).FullName