mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Fix review suggestions
This commit is contained in:
1 parent
25260963c7
commit
c8aef74a93
5 files changed
+11
-11
No files matched your search
@@ -15,9 +15,9 @@ public class SpecLoader {
|
||||
self.version = version
|
||||
}
|
||||
|
||||
public func loadProject(path: Path, environmentVariables: [String: String] = ProcessInfo.processInfo.environment) throws -> Project {
|
||||
public func loadProject(path: Path, variables: [String: String] = [:]) throws -> Project {
|
||||
let spec = try SpecFile(path: path)
|
||||
let resolvedDictionary = spec.resolvedDictionary(environmentVariables: environmentVariables)
|
||||
let resolvedDictionary = spec.resolvedDictionary(variables: variables)
|
||||
let project = try Project(basePath: spec.basePath, jsonDictionary: resolvedDictionary)
|
||||
|
||||
self.project = project
|
||||
|
||||
Reference in new issue
Block a user