File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Pod::Spec.new do |s|
88#
99
1010s . name = "EVURLCache"
11- s . version = "3.5 .0"
11+ s . version = "3.6 .0"
1212s . summary = "NSURLCache subclass for handeling all web requests that use NSURLRequest"
1313s . description = "This is a NSURLCache subclass for handeling all web requests that use NSURLRequest. (This includes UIWebView)"
1414s . homepage = "https://github.com/evermeer/EVURLCache"
Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ open class EVURLCache: URLCache {
120120 }
121121
122122 // Check if there is a cache for this request
123- let storagePath = EVURLCache . storagePathForRequest ( request, rootPath: EVURLCache . _cacheDirectory) ?? " "
123+ var storagePath = EVURLCache . storagePathForRequest ( request, rootPath: EVURLCache . _cacheDirectory) ?? " "
124124 if !FileManager. default. fileExists ( atPath: storagePath) {
125125 EVURLCache . debugLog ( " CACHE not found \( storagePath) " )
126- let storagePath = EVURLCache . storagePathForRequest ( request, rootPath: EVURLCache . _preCacheDirectory) ?? " "
126+ storagePath = EVURLCache . storagePathForRequest ( request, rootPath: EVURLCache . _preCacheDirectory) ?? " "
127127 if !FileManager. default. fileExists ( atPath: storagePath) {
128128 EVURLCache . debugLog ( " PRECACHE not found \( storagePath) " )
129129 return nil
You can’t perform that action at this time.
0 commit comments