Skip to content

Commit bbafd91

Browse files
committed
Fix preview issue on macOS and Linux
1 parent da2ca1b commit bbafd91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftDocCUtilities/Docc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import ArgumentParser
1212

13-
#if canImport(NIOHTTP)
13+
#if canImport(NIOHTTP1)
1414
private let subcommands: [ParsableCommand.Type] = [Docc.Convert.self, Docc.Index.self, Docc.Preview.self, Docc.ProcessArchive.self]
1515
#else
1616
private let subcommands: [ParsableCommand.Type] = [Docc.Convert.self, Docc.Index.self, Docc.ProcessArchive.self]

0 commit comments

Comments
 (0)