Skip to content

Commit eb3a02d

Browse files
committed
Fix formatting problem and bad #if
1 parent f1542a6 commit eb3a02d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/Swiftly/SelfUpdate.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,11 @@ struct SelfUpdate: SwiftlyCommand {
4949
var version: SwiftlyVersion? = swiftlyVersion
5050

5151
if let version {
52-
5352
#if os(macOS)
5453
downloadURL = URL(string: "https://download.swift.org/swiftly/darwin/swiftly-\(version).pkg")
5554
#endif
5655

57-
#f os(Linux)
56+
#if os(Linux)
5857
#if arch(x86_64)
5958
downloadURL = URL(string: "https://download.swift.org/swiftly/linux/swiftly-\(version)-x86_64.tar.gz")
6059
#elseif arch(arm64)

0 commit comments

Comments
 (0)