Skip to content
Browse files

don't let the rm affect anything

  • Loading branch information...
1 parent 7d31448 commit 1a9d3f9f28ae7655e50f242e21086d9583ba253e @defunkt defunkt committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/github/markups.rb
4 lib/github/markups.rb
@@ -21,8 +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')
+ `rm pod2htmd.tmp` if File.exists?('pod2htmd.tmp') rescue nil
+ `rm pod2htmi.tmp` if File.exists?('pod2htmi.tmp') rescue nil

0 comments on commit 1a9d3f9

Please sign in to comment.
Something went wrong with that request. Please try again.