lib/space2dash.rb in space2dash-0.0.1 vs lib/space2dash.rb in space2dash-0.0.2
- old
+ new
@@ -5,11 +5,9 @@
def convert(argv)
argv.length == 1 ? argv[0].strip.gsub(/\s/, '-') : argv.join('-')
end
def create_new_branch(dash_include_sentence)
- if system "git checkout -b #{dash_include_sentence}"
- "Branch has been created."
- end
+ system "git checkout -b #{dash_include_sentence}"
end
end
end