Skip to content

Commit

Permalink
Dollar character missing in characters to escape.
Browse files Browse the repository at this point in the history
  • Loading branch information
sorbits committed Aug 4, 2012
1 parent 8973865 commit 35fafb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Commands/Fixup!.tmCommand
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<string>#!/usr/bin/env ruby -wKU <string>#!/usr/bin/env ruby -wKU
def escape(choice) def escape(choice)
choice.gsub(/[,|\\]/, '\\\\\0') choice.gsub(/[,|\\$]/, '\\\\\0')
end end
choices = %x{ "${TM_GIT:-git}" log --pretty=tformat:'%s' -n15 }.split(/\n/) choices = %x{ "${TM_GIT:-git}" log --pretty=tformat:'%s' -n15 }.split(/\n/)
Expand Down

0 comments on commit 35fafb4

Please sign in to comment.