add missing trailing commas in list/set/map literals (#102585)

This commit is contained in:
Alexandre Ardhuin
2022-04-27 09:15:35 +02:00
committed by GitHub
parent 0b80f08cf0
commit 07f1c20474
271 changed files with 1236 additions and 1141 deletions

View File

@@ -151,7 +151,7 @@ abstract class Repository {
upstreamRemote.name,
'--',
upstreamRemote.url,
checkoutDirectory.path
checkoutDirectory.path,
],
'Cloning $name repo',
workingDirectory: parentDirectory.path,
@@ -302,7 +302,7 @@ abstract class Repository {
'merge-base',
'--is-ancestor',
possibleDescendant,
possibleAncestor
possibleAncestor,
],
'verify $possibleAncestor is a direct ancestor of $possibleDescendant.',
allowNonZeroExitCode: true,

View File

@@ -171,7 +171,7 @@ String phaseInstructions(pb.ConductorState state) {
].join('\n');
}
return <String>[
'Either all cherrypicks have been auto-applied or there were none.'
'Either all cherrypicks have been auto-applied or there were none.',
].join('\n');
case ReleasePhase.PUBLISH_VERSION:
if (!requiresFrameworkPR(state)) {
@@ -201,7 +201,7 @@ String phaseInstructions(pb.ConductorState state) {
'\t 1. Post announcement to discord',
'\t 2. Post announcement flutter release hotline chat room',
'-----------------------------------------------------------------------',
'This release has been completed.'
'This release has been completed.',
].join('\n');
}
return <String>[
@@ -211,7 +211,7 @@ String phaseInstructions(pb.ConductorState state) {
'\t 3. Post announcement to discord',
'\t 4. Post announcement flutter release hotline chat room',
'-----------------------------------------------------------------------',
'This release has been completed.'
'This release has been completed.',
].join('\n');
}
// For analyzer

View File

@@ -1124,7 +1124,7 @@ void main() {
FakeCommand(
command: const <String>['git', 'push', '', 'HEAD:refs/heads/'],
exception: GitException(gitPushErrorMessage, <String>['git', 'push', '--force', '', 'HEAD:refs/heads/']),
)
),
]);
final NextContext nextContext = NextContext(
autoAccept: false,