swiftlang / swift-docc-plugin

Swift Package Manager command plugin for Swift-DocC
https://swiftpackageindex.com/apple/swift-docc-plugin/1.3.0/documentation/swiftdoccplugin
Apache License 2.0
316 stars 54 forks source link

Preview Documentation reports error on exit #58

Open 0xTim opened 1 year ago

0xTim commented 1 year ago

When running swift package --disable-sandbox preview-documentation --target <TARGET> on the command line, you would typically use CTRL-C to exit the command cleanly. This currently reports error: 'docc preview' invocation failed with a nonzero exit code: '9'.

This should probably be handled correctly and exit with code 0

hassila commented 1 year ago

Perhaps related to https://github.com/apple/swift-package-manager/issues/6307