From e254b3a13fda72ae6d895075284cab16b7d233f5 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Fri, 21 Oct 2022 22:56:59 -0700 Subject: [PATCH] config(qemu): fixed typo detecting existing machine properties --- Configuration/UTMQemuConfiguration+Arguments.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/UTMQemuConfiguration+Arguments.swift b/Configuration/UTMQemuConfiguration+Arguments.swift index 38cd0f2a5..a33b552a5 100644 --- a/Configuration/UTMQemuConfiguration+Arguments.swift +++ b/Configuration/UTMQemuConfiguration+Arguments.swift @@ -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