Skip to content

Commit 311dbfb

Browse files
committed
Fix build warning about switch not being exhaustive.
VirtualPath.buildArtifactWithKnownContents is a recent addition to the enum.
1 parent 60fa1a8 commit 311dbfb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SWBCore/LibSwiftDriver/PlannedBuild.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ private extension Path {
2525
init(_ virtualPath: TypedVirtualPath) throws {
2626
switch virtualPath.file {
2727
case let .absolute(absPath): self = Path(absPath.pathString)
28-
case .standardInput, .standardOutput, .fileList, .relative, .temporary, .temporaryWithKnownContents:
28+
case .standardInput, .standardOutput, .fileList, .relative, .temporary, .temporaryWithKnownContents, .buildArtifactWithKnownContents:
2929
fallthrough
3030
@unknown default:
3131
throw StubError.error("Cannot build Path from \(virtualPath); unimplemented path type.")

0 commit comments

Comments
 (0)