We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e8c05e commit 11d6de8Copy full SHA for 11d6de8
Sources/swift-format/Subcommands/DumpConfiguration.swift
@@ -63,8 +63,7 @@ extension SwiftFormatCommand {
63
}
64
65
do {
66
- let configurationAsJson = try configuration.asJsonString()
67
- print(configurationAsJson)
+ print(try configuration.asJsonString())
68
} catch {
69
diagnosticsEngine.emitError("\(error.localizedDescription)")
70
throw ExitCode.failure
api-breakages.txt
@@ -2,3 +2,4 @@
2
---
3
4
API breakage: constructor FileIterator.init(urls:followSymlinks:) has been removed
5
+API breakage: enumelement SwiftFormatError.configurationDumpFailed has been added as a new enum case
0 commit comments