Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

don't let the rm affect anything

  • Loading branch information...
commit 1a9d3f9f28ae7655e50f242e21086d9583ba253e 1 parent 7d31448
@defunkt defunkt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/github/markups.rb
View
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
$1
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.