Unverified Commit ef97a69d authored by stuartmorgan's avatar stuartmorgan Committed by GitHub

Make Swift plugin template swift-format compliant (#40195)

swift-format will alphabetize import statements, so Flutter* should be
before Foundation. Also, separating the "Generated file" comment
prevents the formatter from thinking that the comment is associated with
the following import, rather than the file, if it does re-order.
parent 32c946f3
......@@ -349,8 +349,9 @@ const String _objcPluginRegistryImplementationTemplate = '''//
const String _swiftPluginRegistryTemplate = '''//
// Generated file. Do not edit.
//
import Foundation
import {{framework}}
import Foundation
{{#plugins}}
import {{name}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment