Removed the unnecessary "fullPath" computed property from the Resource model in the library target.
This commit is contained in:
@@ -31,8 +31,6 @@ extension String {
|
||||
static let forwardSlash = "%@/"
|
||||
/// A format pattern used to generate relative paths for index files.
|
||||
static let index = "%@/%@/index.html"
|
||||
/// A format pattern used to generate relative paths for resources.
|
||||
static let resource = "/%@/%@"
|
||||
/// A format pattern used to generate relative paths that starts with the `/` string.
|
||||
static let root = "/%@"
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ extension String {
|
||||
return nil
|
||||
}
|
||||
|
||||
return matches.output.1
|
||||
return matches.output.1 ?? .empty
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user