Skip to content

Commit e230082

Browse files
committed
Fix help instructions for CurrentBundle
1 parent b992357 commit e230082

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

support/current_bundle.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ def assert_appraisal!
1818
1919
Possible appraisals are:
2020
21-
#{available_appraisals.map { |appraisal| "- #{appraisal.name}\n" }.join}
21+
#{available_appraisals.map { |appraisal| " - #{appraisal.name}" }.join("\n")}
2222
2323
Or to simply go with the latest appraisal, use:
2424
25-
bin/rspec #{current_command}
25+
bin/rspec #{shell_arguments}
2626
MESSAGE
2727
end
2828
end
@@ -59,6 +59,10 @@ def current_command
5959
Shellwords.join([File.basename($0)] + ARGV)
6060
end
6161

62+
def shell_arguments
63+
Shellwords.join(ARGV)
64+
end
65+
6266
class AppraisalNotSpecified < ArgumentError; end
6367
end
6468
end

0 commit comments

Comments
 (0)