Added namespaces to some of the constants for the String+Constants extension in the library target.
This commit is contained in:
@@ -56,7 +56,7 @@ struct PrepareURIPathUseCase {
|
||||
}
|
||||
|
||||
let documentationName = uriRest
|
||||
.split(separator: .forwardSlash)
|
||||
.split(separator: .Path.forwardSlash)
|
||||
.map(String.init)
|
||||
.first
|
||||
|
||||
@@ -110,9 +110,9 @@ private extension PrepareURIPathUseCase {
|
||||
return nil
|
||||
}
|
||||
guard let uriRest = matches.output.1 else {
|
||||
return .forwardSlash
|
||||
return .Path.forwardSlash
|
||||
}
|
||||
guard uriRest.hasPrefix(String.forwardSlash) else {
|
||||
guard uriRest.hasPrefix(.Path.forwardSlash) else {
|
||||
return .init(format: .Format.Path.root, uriRest)
|
||||
}
|
||||
return uriRest
|
||||
|
||||
Reference in New Issue
Block a user