Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hannah-hyj committed Mar 20, 2024
1 parent 6d265a0 commit 11dbb95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,7 @@ class DomainError extends CommonError {
);
// Issues that are not covered by other checks. An example that may be in this
// category is Android validation API failures.
static const other = DomainError(
'Check failed',
'',
'',
);
static const other = DomainError('Check failed', '', '');
}

/// There are currently two types of path errors, errors from intent filters and path format errors.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class DeepLinksServices {
final List? failedChecks = domainResult[_failedChecksKey];
if (failedChecks != null) {
for (final Map<String, dynamic> failedCheck in failedChecks) {
final checkName = failedCheck[_checkNameKey];
final checkName = failedCheck[_checkNameKey] as String;
final domainError = checkNameToDomainError[checkName];
if (domainError != null) {
domainErrors[domainName]!.add(domainError);
Expand Down

0 comments on commit 11dbb95

Please sign in to comment.