[github label notifier] Format github-label-notifier using dartfmt
Change-Id: Iee2653e9cc0f2f1ed8843c5ceb453d6bb9185736
Reviewed-on: https://dart-review.googlesource.com/c/dart_ci/+/144600
Reviewed-by: Alexander Thomas <athom@google.com>
diff --git a/github-label-notifier/functions/lib/github_utils.dart b/github-label-notifier/functions/lib/github_utils.dart
index 0ab4b6f..6fea185 100644
--- a/github-label-notifier/functions/lib/github_utils.dart
+++ b/github-label-notifier/functions/lib/github_utils.dart
@@ -31,4 +31,4 @@
return signature.length == expectedSignature.length &&
crypto.timingSafeEqual(
Buffer.from(signature), Buffer.from(expectedSignature));
-}
\ No newline at end of file
+}
diff --git a/github-label-notifier/functions/node/index.test.dart b/github-label-notifier/functions/node/index.test.dart
index cbb6d2a..73ab0af 100644
--- a/github-label-notifier/functions/node/index.test.dart
+++ b/github-label-notifier/functions/node/index.test.dart
@@ -313,9 +313,10 @@
contains('Matches keyword: third_party/dart'));
});
- test('ok - issue opened - test underscore as word boundary',
- () async {
- final rs = await sendEvent(body: makeIssueOpenedEvent(body: 'xyz, something_jit_something_else, foobar'));
+ test('ok - issue opened - test underscore as word boundary', () async {
+ final rs = await sendEvent(
+ body: makeIssueOpenedEvent(
+ body: 'xyz, something_jit_something_else, foobar'));
expect(rs.statusCode, equals(HttpStatus.ok));
expect(sendgridRequests.length, equals(1));
@@ -339,9 +340,10 @@
contains('Matches keyword: jit'));
});
- test('ok - issue opened - no matching keyword',
- () async {
- final rs = await sendEvent(body: makeIssueOpenedEvent(body: 'xyz, somethingjitsomething_else, foobar'));
+ test('ok - issue opened - no matching keyword', () async {
+ final rs = await sendEvent(
+ body: makeIssueOpenedEvent(
+ body: 'xyz, somethingjitsomething_else, foobar'));
expect(rs.statusCode, equals(HttpStatus.ok));
expect(sendgridRequests.length, equals(0));
});
diff --git a/github-label-notifier/ui/lib/app_component.dart b/github-label-notifier/ui/lib/app_component.dart
index d813f55..d75736d 100644
--- a/github-label-notifier/ui/lib/app_component.dart
+++ b/github-label-notifier/ui/lib/app_component.dart
@@ -69,7 +69,8 @@
_subscriptionsService.onAuth.listen((_) async {
subscriptions = await _subscriptionsService.getSubscriptions();
- final subscription = await _subscriptionsService.getKeywordSubscription('flutter/flutter');
+ final subscription =
+ await _subscriptionsService.getKeywordSubscription('flutter/flutter');
if (subscription != null) {
flutterKeywordLabel = subscription.label;
flutterKeywords = subscription.keywords;
diff --git a/github-label-notifier/ui/lib/src/services/github_service.dart b/github-label-notifier/ui/lib/src/services/github_service.dart
index 4d08887..bf28dae 100644
--- a/github-label-notifier/ui/lib/src/services/github_service.dart
+++ b/github-label-notifier/ui/lib/src/services/github_service.dart
@@ -10,4 +10,4 @@
.listLabels(RepositorySlug.full(repository))
.map((label) => label.name)
.toList();
-}
\ No newline at end of file
+}