Skip to content

Commit df19306

Browse files
authored
Merge pull request swiftlang#7 from kitasuke/fix_warning
[Gardening] Rename fill(_:into:) to fill(parseResult:into:)
2 parents af0f3cf + b19c01d commit df19306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/swift-format/CommandLineOptions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ func processArguments(commandName: String, _ arguments: [String]) -> CommandLine
143143
var opts = CommandLineOptions()
144144
do {
145145
let args = try parser.parse(arguments)
146-
binder.fill(args, into: &opts)
146+
try binder.fill(parseResult: args, into: &opts)
147147

148148
if opts.mode.requiresFiles && opts.paths.isEmpty {
149149
throw ArgumentParserError.expectedArguments(parser, ["filenames or paths"])

0 commit comments

Comments
 (0)