Consistent default value and guard check

This commit is contained in:
Ell Neal
2019-01-15 12:27:13 +00:00
parent 8f4c0953b3
commit ccf002f8bf
+1 -1
View File
@@ -177,7 +177,7 @@ extension Project {
extension Project: PathContaining {
static func expandPaths(for spec: Spec, relativeTo basePath: Path = "") -> Spec {
static func expandPaths(for spec: Spec, relativeTo basePath: Path = Path()) -> Spec {
let relativePath = (basePath + spec.relativePath).normalize()
guard relativePath != Path() else {
return spec