From d54bbe711c89800eb01d3157edfc432adfa4d86e Mon Sep 17 00:00:00 2001 From: Ell Neal Date: Sun, 27 Jan 2019 15:27:30 +0000 Subject: [PATCH] #whitespace --- Sources/ProjectSpec/PathContainer.swift | 1 + Sources/ProjectSpec/Spec.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/Sources/ProjectSpec/PathContainer.swift b/Sources/ProjectSpec/PathContainer.swift index 0179dc59..a21e1e2e 100644 --- a/Sources/ProjectSpec/PathContainer.swift +++ b/Sources/ProjectSpec/PathContainer.swift @@ -14,6 +14,7 @@ enum PathProperty { } extension Array where Element == PathProperty { + func resolvingPaths(in jsonDictionary: JSONDictionary, relativeTo path: Path) -> JSONDictionary { var result = jsonDictionary diff --git a/Sources/ProjectSpec/Spec.swift b/Sources/ProjectSpec/Spec.swift index 8852558a..10f2c415 100644 --- a/Sources/ProjectSpec/Spec.swift +++ b/Sources/ProjectSpec/Spec.swift @@ -70,6 +70,7 @@ public struct Spec { } extension Spec { + func resolvingPaths(relativeTo basePath: Path = Path()) -> Spec { let relativePath = (basePath + self.relativePath).normalize() guard relativePath != Path() else {