Permalink
Browse files

pod is spitting out tmp files we don't want

  • Loading branch information...
1 parent 0b1b2d7 commit 7d31448b8ac7bdca4a9a5d0efc004e635b9c6bf5 @defunkt defunkt committed Nov 3, 2009
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/github/markups.rb
View
@@ -21,6 +21,8 @@
# 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

0 comments on commit 7d31448

Please sign in to comment.