From ccf002f8bf9fbb18e3784e3429d28f47bd8534b7 Mon Sep 17 00:00:00 2001 From: Ell Neal Date: Tue, 15 Jan 2019 12:27:13 +0000 Subject: [PATCH] Consistent default value and guard check --- Sources/ProjectSpec/Project.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ProjectSpec/Project.swift b/Sources/ProjectSpec/Project.swift index 0b5d8774..f912fd5d 100644 --- a/Sources/ProjectSpec/Project.swift +++ b/Sources/ProjectSpec/Project.swift @@ -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