Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing unnecessary heredocs that cause newline bug

  • Loading branch information...
commit eb3738d66c9674b093ebfd014e8642d18b892ff8 1 parent 2bab127
@gregolsen gregolsen authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 lib/pivotal_shell/commands/commit.rb
View
5 lib/pivotal_shell/commands/commit.rb
@@ -38,10 +38,7 @@ def execute
end
end
if @story
- message = <<-MSG
-#{("[\##{@story.id}]").rjust 12}
-#{@message}\n\n Feature:#{@story.name.strip}
-MSG
+ message = "#{("[\##{@story.id}]").rjust 12} #{@message}\n\n Feature:#{@story.name.strip}"
puts `git commit -m "#{message}"`
else
puts "Story not found"
Please sign in to comment.
Something went wrong with that request. Please try again.