From b707b59ddec3b8785da283c43c8e4a594fa9074d Mon Sep 17 00:00:00 2001 From: Chris McGee Date: Sun, 14 Sep 2025 15:53:14 -0400 Subject: [PATCH] Fix runtime error in self-update --- Sources/Swiftly/SelfUpdate.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Swiftly/SelfUpdate.swift b/Sources/Swiftly/SelfUpdate.swift index fb3d93bc..390b95e7 100644 --- a/Sources/Swiftly/SelfUpdate.swift +++ b/Sources/Swiftly/SelfUpdate.swift @@ -18,7 +18,7 @@ struct SelfUpdate: SwiftlyCommand { @OptionGroup var root: GlobalOptions - @Option(help: .hidden) var toVersion: SwiftlyVersion + @Option(help: .hidden) var toVersion: SwiftlyVersion? = nil private enum CodingKeys: String, CodingKey { case root, toVersion