We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8bc4f3 commit bda9bd4Copy full SHA for bda9bd4
Sources/FoundationNetworking/URLSession/libcurl/EasyHandle.swift
@@ -261,9 +261,7 @@ extension _EasyHandle {
261
// certificate files have names like "53a1b57a.0"
262
if certURL.pathExtension != "0" { continue }
263
do {
264
- if try certURL.resourceValues(forKeys: [.isRegularFileKey]).isRegularFile != true { continue }
265
- if try certURL.resourceValues(forKeys: [.isReadableKey]).isReadable != true { continue }
266
- try fs.write(contentsOf: try Data(contentsOf: certURL))
+ try? fs.write(contentsOf: Data(contentsOf: certURL))
267
} catch {
268
// ignore individual errors and soldier on…
269
continue
0 commit comments