From da94fe3a54a7225c9a2a696fc7de65bc5c24c9e9 Mon Sep 17 00:00:00 2001 From: Kha Truong <64438356+khatruong2009@users.noreply.github.com> Date: Tue, 19 Sep 2023 11:45:05 -0700 Subject: [PATCH] chore: fixed some formatting and removed todo comment --- .../lib/src/remote_constraint_provider.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart b/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart index f1b65a0ebb..ff6e0b31a1 100644 --- a/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart +++ b/packages/logging_cloudwatch/aws_logging_cloudwatch/lib/src/remote_constraint_provider.dart @@ -5,9 +5,6 @@ import 'dart:async'; import 'dart:convert'; import 'package:amplify_core/amplify_core.dart'; -// TODO(nikahsn): remove after implementing the get loggingConstraint. -// ignore_for_file: unused_field - import 'package:aws_common/aws_common.dart'; import 'package:aws_logging_cloudwatch/aws_logging_cloudwatch.dart'; import 'package:aws_logging_cloudwatch/src/file_storage/file_storage.dart'; @@ -107,7 +104,8 @@ base class BaseRemoteLoggingConstraintProvider final response = await operation.response; final body = await response.decodeBody(); if (response.statusCode != 200) { - logger.error('Failed to fetch constraints', (response.statusCode, body)); + logger + .error('Failed to fetch constraints', (response.statusCode, body)); return; } final fetchedConstraint = LoggingConstraint.fromJson(