Skip to content

Commit

Permalink
config(qemu): fix compile error on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Apr 20, 2024
1 parent 11cf8af commit d245c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/UTMQemuConfiguration+Arguments.swift
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ import Virtualization // for getting network interfaces
/// Used for placeholder images
var placeholderUrl: URL {
#if os(macOS)
URL(fileURLWithPath: "/dev/null")!
URL(fileURLWithPath: "/dev/null")
#else
let empty = FileManager.default.temporaryDirectory.appendingPathComponent("empty")
FileManager.default.createFile(atPath: empty.path, contents: nil)
Expand Down

0 comments on commit d245c87

Please sign in to comment.