Skip to content

Commit b70d3cc

Browse files
authored
Fix runtime error in self-update (release 1.1) (#416)
Fix runtime error in self-update
1 parent c82a975 commit b70d3cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Swiftly/SelfUpdate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ struct SelfUpdate: SwiftlyCommand {
1818

1919
@OptionGroup var root: GlobalOptions
2020

21-
@Option(help: .hidden) var toVersion: SwiftlyVersion
21+
@Option(help: .hidden) var toVersion: SwiftlyVersion? = nil
2222

2323
private enum CodingKeys: String, CodingKey {
2424
case root, toVersion

0 commit comments

Comments
 (0)