Skip to content

Commit 5c1ce1c

Browse files
authored
Revert "Fix runtime error in self-update (swiftlang#415)"
This reverts commit ec18c25.
1 parent ec18c25 commit 5c1ce1c

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? = nil
21+
@Option(help: .hidden) var toVersion: SwiftlyVersion
2222

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

0 commit comments

Comments
 (0)