Skip to content

Commit 31ee9ca

Browse files
authored
chore: fix commas (#405)
1 parent 3c547b3 commit 31ee9ca

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

functions_framework_builder/lib/builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class _FunctionsFrameworkBuilder implements Builder {
8989

9090
final importDirectives = [
9191
"'package:functions_framework/serve.dart'",
92-
"'${input.uri}' as $functionsLibraryPrefix"
92+
"'${input.uri}' as $functionsLibraryPrefix",
9393
]..sort();
9494

9595
var output = '''

gcp/example/example.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ CommitRequest _incrementRequest(String projectId) => CommitRequest(
102102
FieldTransform(
103103
fieldPath: 'count',
104104
increment: Value(integerValue: '1'),
105-
)
105+
),
106106
],
107107
),
108108
),

gcp/lib/src/logging.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Handler _errorWriter(Handler innerHandler) => (request) async {
7272
error,
7373
if (error.innerError != null)
7474
'${error.innerError} (${error.innerError.runtimeType})',
75-
_fromStackTrace(error.innerStack ?? stack)
75+
_fromStackTrace(error.innerStack ?? stack),
7676
];
7777

7878
final bob =

gcp/test/gcp_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ void main() {
4040
final proc = await _run(
4141
projectIdPrint,
4242
environment: {
43-
gcpProjectIdEnvironmentVariables.first: 'test-project-42'
43+
gcpProjectIdEnvironmentVariables.first: 'test-project-42',
4444
},
4545
);
4646

@@ -59,7 +59,7 @@ void main() {
5959
test(
6060
'no environment',
6161
onPlatform: {
62-
'windows': const Skip('TODO: no idea why this is failing on windows')
62+
'windows': const Skip('TODO: no idea why this is failing on windows'),
6363
},
6464
() async {
6565
final proc = await _run(listenPortPrint);

integration_test/test/cli_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void main() {
5454
'--target',
5555
'function',
5656
'--signature-type',
57-
'http'
57+
'http',
5858
],
5959
env: {
6060
// make sure args have precedence over environment
@@ -226,7 +226,7 @@ void main() {
226226
'--target',
227227
'basicCloudEventHandler',
228228
'--signature-type',
229-
'http'
229+
'http',
230230
],
231231
);
232232

integration_test/test/cloud_behavior_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void main() {
9696
'message': message,
9797
'severity': severity.name,
9898
'logging.googleapis.com/trace':
99-
'projects/test_project_id/traces/$traceStart'
99+
'projects/test_project_id/traces/$traceStart',
100100
},
101101
);
102102
}
@@ -363,7 +363,7 @@ void main() {
363363
'{"message":"error","severity":"ERROR","logging.googleapis.com/trace":"$trace"}',
364364
'{"message":"critical","severity":"CRITICAL","logging.googleapis.com/trace":"$trace"}',
365365
'{"message":"alert","severity":"ALERT","logging.googleapis.com/trace":"$trace"}',
366-
'{"message":"emergency","severity":"EMERGENCY","logging.googleapis.com/trace":"$trace"}'
366+
'{"message":"emergency","severity":"EMERGENCY","logging.googleapis.com/trace":"$trace"}',
367367
]);
368368
});
369369
});

0 commit comments

Comments
 (0)