Skip to content

Commit 999b8d2

Browse files
committed
Fix version check in init
1 parent 12c4ebe commit 999b8d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Swiftly/Init.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ internal struct Init: SwiftlyCommand {
4141
(
4242
config.version == SwiftlyVersion(major: 0, minor: 4, patch: 0, suffix: "dev") ||
4343
config.version == SwiftlyVersion(major: 0, minor: 4, patch: 0) ||
44-
config.version?.major == 1 && config.version?.minor == 0
44+
(config.version?.major == 1 && config.version?.minor == 0)
4545
)
4646
{
4747
// This is a simple upgrade from the 0.4.0 pre-releases, or 1.x

0 commit comments

Comments
 (0)