Skip to content

Commit d60a108

Browse files
authored
Merge pull request swiftlang#144 from google/get-rid-of-80
Remove hardcoded 80 column limit in the format runner.
2 parents fdc3caa + 10600d9 commit d60a108

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: Sources/swift-format/Run.swift

+1-4
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,8 @@ public func lintMain(path: String) -> Int {
5656
public func formatMain(path: String, isDebugMode: Bool, prettyPrint: Bool) -> Int {
5757
let url = URL(fileURLWithPath: path)
5858

59-
let config = Configuration()
60-
config.lineLength = 80
61-
6259
let context = Context(
63-
configuration: config,
60+
configuration: Configuration(),
6461
diagnosticEngine: nil,
6562
fileURL: url
6663
)

0 commit comments

Comments
 (0)