Skip to content

Commit

Permalink
Fix preview issue on macOS and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Ye committed Jun 7, 2023
1 parent da2ca1b commit bbafd91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftDocCUtilities/Docc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

import ArgumentParser

#if canImport(NIOHTTP)
#if canImport(NIOHTTP1)
private let subcommands: [ParsableCommand.Type] = [Docc.Convert.self, Docc.Index.self, Docc.Preview.self, Docc.ProcessArchive.self]
#else
private let subcommands: [ParsableCommand.Type] = [Docc.Convert.self, Docc.Index.self, Docc.ProcessArchive.self]
Expand Down

0 comments on commit bbafd91

Please sign in to comment.