all repos — markup @ 1a9d3f9f28ae7655e50f242e21086d9583ba253e

The code we use to render README.your_favorite_markup

don't let the rm affect anything
Chris Wanstrath chris@ozmm.org
Mon, 02 Nov 2009 16:08:45 -0800
commit

1a9d3f9f28ae7655e50f242e21086d9583ba253e

parent

7d31448b8ac7bdca4a9a5d0efc004e635b9c6bf5

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M lib/github/markups.rblib/github/markups.rb

@@ -21,8 +21,8 @@ # Any block passed to `command` will be handed the command's STDOUT for

# post processing. command("/usr/bin/env pod2html", /pod/) do |rendered| if rendered =~ /<!-- INDEX BEGIN -->\s*(.+)\s*<!-- INDEX END -->/mi - `rm pod2htmd.tmp` if File.exists?('pod2htmd.tmp') - `rm pod2htmi.tmp` if File.exists?('pod2htmi.tmp') + `rm pod2htmd.tmp` if File.exists?('pod2htmd.tmp') rescue nil + `rm pod2htmi.tmp` if File.exists?('pod2htmi.tmp') rescue nil $1 end end