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:
@@ -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