mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
Fix writing to a project path
This commit is contained in:
1 parent
452a13c54e
commit
40c472112d
1 file changed
+1
-1
@@ -12,7 +12,7 @@ public class FileWriter {
|
||||
}
|
||||
|
||||
public func writeXcodeProject(_ xcodeProject: XcodeProj, to projectPath: Path? = nil) throws {
|
||||
let projectPath = project.defaultProjectPath
|
||||
let projectPath = projectPath ?? project.defaultProjectPath
|
||||
let tempPath = try Path.processUniqueTemporary() + "XcodeGen"
|
||||
try? tempPath.delete()
|
||||
if projectPath.exists {
|
||||
|
||||
Reference in new issue
Block a user