Skip to content

Commit

Permalink
config(qemu): fixed typo detecting existing machine properties
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Oct 22, 2022
1 parent 39c6c11 commit e254b3a
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 @@ -786,7 +786,7 @@ import Foundation

private extension String {
func appendingDefaultPropertyName(_ name: String, value: String) -> String {
if !self.contains("name" + "=") {
if !self.contains(name + "=") {
return self.appending("\(self.count > 0 ? "," : "")\(name)=\(value)")
} else {
return self
Expand Down

0 comments on commit e254b3a

Please sign in to comment.