bin/space2dash in space2dash-0.0.3 vs bin/space2dash in space2dash-0.0.4
- old
+ new
@@ -2,10 +2,10 @@
require 'space2dash'
CREATE_FLAGS = %w(-c --create)
args = ARGV.reject { |arg| CREATE_FLAGS.include?(arg) }
-result = Space2dash.convert(args)
+result = Space2dash.convert(args)
if ARGV.include?('-c') || ARGV.include?('--create')
print Space2dash.create_new_branch(result)
else
print result