Skip to content
Browse files

Merge pull request #271 from UnifiedPost/feature/keep_tempfiles_after

When running in debug mode, do not remove temp files created
  • Loading branch information...
2 parents 7842a6c + ef10972 commit fbb9f4b6d3f6d41a3d0c00f49c9ae40d56032f80 @jordansissel committed Oct 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/fpm/package.rb
View
4 lib/fpm/package.rb
@@ -260,8 +260,8 @@ def build_path(path=nil)
# Clean up any temporary storage used by this class.
def cleanup
- cleanup_staging
- cleanup_build
+ cleanup_staging unless @logger.level == :debug
+ cleanup_build unless @logger.level == :debug
end # def cleanup
def cleanup_staging

0 comments on commit fbb9f4b

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