mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-03-18 20:02:25 +00:00
Fix checking optional group existence relative to the working dir (#1529)
This commit is contained in:
@@ -664,7 +664,7 @@ class SourceGenerator {
|
||||
sourceFiles.append(sourceFile)
|
||||
|
||||
case .group:
|
||||
if targetSource.optional && !Path(targetSource.path).exists {
|
||||
if targetSource.optional && !path.exists {
|
||||
// This group is missing, so if's optional just return an empty array
|
||||
return []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user