dev-cmd/typecheck: improve exit code handling.
This commit is contained in:
parent
e52a582290
commit
e7b9a732b4
1
.github/workflows/sorbet.yml
vendored
1
.github/workflows/sorbet.yml
vendored
@ -46,7 +46,6 @@ jobs:
|
||||
- name: Update RBI files
|
||||
id: update
|
||||
working-directory: ${{ steps.set-up-homebrew.outputs.repository-path }}
|
||||
continue-on-error: true
|
||||
run: |
|
||||
if [[ "${GITHUB_EVENT_NAME}" != "pull_request" ]]
|
||||
then
|
||||
|
||||
@ -60,9 +60,9 @@ module Homebrew
|
||||
if args.suggest_typed?
|
||||
ohai "Checking if we can bump Sorbet `typed` sigils..."
|
||||
# --sorbet needed because of https://github.com/Shopify/spoom/issues/488
|
||||
safe_system "bundle", "exec", "spoom", "srb", "bump", "--from", "false", "--to", "true",
|
||||
system "bundle", "exec", "spoom", "srb", "bump", "--from", "false", "--to", "true",
|
||||
"--sorbet", "#{Gem.bin_path("sorbet", "srb")} tc"
|
||||
safe_system "bundle", "exec", "spoom", "srb", "bump", "--from", "true", "--to", "strict",
|
||||
system "bundle", "exec", "spoom", "srb", "bump", "--from", "true", "--to", "strict",
|
||||
"--sorbet", "#{Gem.bin_path("sorbet", "srb")} tc"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user