Skip to content

Commit

Permalink
fix: make Project.type non-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
fortmarek committed Nov 20, 2024
1 parent 2354aa5 commit 24b695f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/XcodeGraph/Models/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public struct Project: Hashable, Equatable, CustomStringConvertible, CustomDebug
public var isExternal: Bool

/// It represents the type of project.
public var type: ProjectType?
public var type: ProjectType

// MARK: - Init

Expand Down Expand Up @@ -146,6 +146,7 @@ public struct Project: Hashable, Equatable, CustomStringConvertible, CustomDebug
self.resourceSynthesizers = resourceSynthesizers
self.lastUpgradeCheck = lastUpgradeCheck
self.isExternal = isExternal
self.type = .external(hash: nil)
}

/// Initializes the project with its attributes.
Expand Down

0 comments on commit 24b695f

Please sign in to comment.