mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2026-11-18 20:15:11 +00:00
Fix checking optional group existence relative to the working dir (#1529)
This commit is contained in:
1 parent
2f1fbf2a91
commit
b1e03f0f46
1 file changed
+1
-1
@@ -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