Swift 5 --warnings

This commit is contained in:
Max Howell
2019-01-24 15:02:03 -05:00
parent 2388c384a1
commit fdff3bcc05
3 changed files with 14 additions and 14 deletions

View File

@@ -10,17 +10,17 @@ public extension Bundle {
}
/// Returns the path for the shared-frameworks directory in this bundle.
public var sharedFrameworks: Path? {
var sharedFrameworks: Path? {
return sharedFrameworksPath.flatMap(Path.init)
}
/// Returns the path for the resources directory in this bundle.
public var resources: Path? {
var resources: Path? {
return resourcePath.flatMap(Path.init)
}
/// Returns the path for this bundle.
public var path: Path {
var path: Path {
return Path(string: bundlePath)
}
}