Skip to content

Commit 745e433

Browse files
authored
Merge pull request #91 from Shopify/at-bump-message
Make `spoom bump --dry` message more obvious
2 parents ef93700 + 6421f04 commit 745e433

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/spoom/cli/bump.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def print_changes(files, command:, from: "false", to: "true", dry: false, path:
133133
if dry && command
134134
say("\nRun `#{command}` to bump them")
135135
elsif dry
136-
say("\nRun `spoom bump --from #{from} --to #{to}` to bump them")
136+
say("\nRun `spoom bump --from #{from} --to #{to}` locally then `commit the changes` and `push them`")
137137
end
138138
end
139139

test/spoom/cli/bump_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ class A; end
225225
Can bump `1` file from `false` to `true`:
226226
+ file1.rb
227227
228-
Run `spoom bump --from false --to true` to bump them
228+
Run `spoom bump --from false --to true` locally then `commit the changes` and `push them`
229229
OUT
230230
refute(status)
231231

@@ -252,7 +252,7 @@ class A; end
252252
+ file1.rb
253253
+ file2.rb
254254
255-
Run `spoom bump --from false --to true` to bump them
255+
Run `spoom bump --from false --to true` locally then `commit the changes` and `push them`
256256
OUT
257257
refute(status)
258258

0 commit comments

Comments
 (0)