mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Consistent default value and guard check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user