pod is spitting out tmp files we don't want
Chris Wanstrath chris@ozmm.org
Mon, 02 Nov 2009 16:08:32 -0800
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
lib/github/markups.rb
→
lib/github/markups.rb
@@ -21,6 +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') $1 end end