Skip to content

Commit

Permalink
Switched the log messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vermeer, Edwin authored and Vermeer, Edwin committed Jun 20, 2017
1 parent 2cbc082 commit 0a05f2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion EVURLCache.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
#

s.name = "EVURLCache"
s.version = "3.3.0"
s.version = "3.3.1"
s.summary = "NSURLCache subclass for handeling all web requests that use NSURLRequest"
s.description = "This is a NSURLCache subclass for handeling all web requests that use NSURLRequest. (This includes UIWebView)"
s.homepage = "https://github.com/evermeer/EVURLCache"
Expand Down
4 changes: 2 additions & 2 deletions EVURLCache/Pod/EVURLCache.swift
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ open class EVURLCache: URLCache {
// Check if there is a cache for this request
let storagePath = EVURLCache.storagePathForRequest(request, rootPath: EVURLCache._cacheDirectory) ?? ""
if !FileManager.default.fileExists(atPath: storagePath) {
EVURLCache.debugLog("PRECACHE not found \(storagePath)")
EVURLCache.debugLog("CACHE not found \(storagePath)")
let storagePath = EVURLCache.storagePathForRequest(request, rootPath: EVURLCache._preCacheDirectory) ?? ""
if !FileManager.default.fileExists(atPath: storagePath) {
EVURLCache.debugLog("CACHE not found \(storagePath)")
EVURLCache.debugLog("PRECACHE not found \(storagePath)")
return nil
}
}
Expand Down

0 comments on commit 0a05f2b

Please sign in to comment.