We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a83c956 commit 6444fb9Copy full SHA for 6444fb9
Sources/Configuration/Utilities/FoundationExtensions.swift
@@ -40,7 +40,7 @@ extension Error {
40
/// Inspects whether the error represents a file not found.
41
internal var isFileNotFoundError: Bool {
42
if let posixError = self as? POSIXError {
43
- return posixError.code == POSIXError.Code.ENOENT
+ return posixError.code == POSIXError.ENOENT
44
}
45
if let cocoaError = self as? CocoaError, cocoaError.isFileError {
46
return [
0 commit comments