Skip to content

Commit

Permalink
fix: invocation of Project.empty() without specified ProjectType shou…
Browse files Browse the repository at this point in the history
…ld use new method (#77)
  • Loading branch information
fortmarek authored Nov 20, 2024
1 parent cd2c446 commit 7d15c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/XcodeGraph/Models/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ public struct Project: Hashable, Equatable, CustomStringConvertible, CustomDebug
additionalFiles: [FileElement] = [],
resourceSynthesizers: [ResourceSynthesizer] = [],
lastUpgradeCheck: Version? = nil,
isExternal: Bool = false
isExternal: Bool
) -> Project {
Project(
path: path,
Expand Down Expand Up @@ -403,7 +403,7 @@ public struct Project: Hashable, Equatable, CustomStringConvertible, CustomDebug
additionalFiles: [FileElement] = [],
resourceSynthesizers: [ResourceSynthesizer] = [],
lastUpgradeCheck: Version? = nil,
type: ProjectType
type: ProjectType = .external(hash: "project-hash")
) -> Project {
Project(
path: path,
Expand Down

0 comments on commit 7d15c3b

Please sign in to comment.