Skip to content

Commit 250edaa

Browse files
committed
Fix setting of process title causing rspec breakage
Fixes jonleighton/spring-commands-rspec#7
1 parent 1e08066 commit 250edaa

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## Next release
2+
3+
* Fix `$0` so that it is no longer prefixed with "spring ", as doing
4+
this cause issues with rspec when running just `rspec` with no
5+
arguments.
6+
17
## 1.1.0
28

39
* A `bin/spring` binstub is now generated. This allows us to load spring

lib/spring/command_wrapper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def call
4242
end
4343

4444
def process_title
45-
["spring", name, *ARGV].join(" ")
45+
[name, *ARGV].join(" ")
4646
end
4747

4848
def gem_name

0 commit comments

Comments
 (0)