Skip to content

Commit

Permalink
Merge pull request #603 from Shopify/update-hint-to-not-mention-depre…
Browse files Browse the repository at this point in the history
…cated-command

Update hint to remove deprecated command
  • Loading branch information
egiurleo authored Sep 3, 2024
2 parents 13d69d7 + 0e69922 commit 8a1221b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/spoom/cli/srb/bump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def print_changes(files, command:, from: "false", to: "true", dry: false, path:
if dry && command
say("\nRun `#{command}` to bump #{files_count > 1 ? "them" : "it"}")
elsif dry
say("\nRun `spoom bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`")
say("\nRun `spoom srb bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`")
end
end

Expand Down
6 changes: 3 additions & 3 deletions test/spoom/cli/srb/bump_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ class A; end
Can bump `1` file from `false` to `true`:
+ file1.rb
Run `spoom bump --from false --to true` locally then `commit the changes` and `push them`
Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them`
OUT
refute(result.status)

Expand All @@ -281,7 +281,7 @@ class A; end
+ file1.rb
+ file2.rb
Run `spoom bump --from false --to true` locally then `commit the changes` and `push them`
Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them`
OUT
refute(result.status)

Expand Down Expand Up @@ -367,7 +367,7 @@ def foo(a, b, c); end
Can bump `1` file from `false` to `true`:
+ file1.rb
Run `spoom bump --from false --to true` locally then `commit the changes` and `push them`
Run `spoom srb bump --from false --to true` locally then `commit the changes` and `push them`
OUT
refute(result.status)

Expand Down

0 comments on commit 8a1221b

Please sign in to comment.