Skip to content

Commit

Permalink
small cleanup in catch (#2159)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 committed Dec 13, 2023
1 parent 15b3937 commit e56a5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/test_core/lib/src/util/package_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Future<Uri> absoluteUri(String path) async {
try {
final packageConfig = await currentPackageConfig;
return packageConfig.toPackageUri(absoluteUri) ?? absoluteUri;
} on StateError catch (_) {
} on StateError {
// Workaround for a missing package config.
return absoluteUri;
}
Expand Down

0 comments on commit e56a5e2

Please sign in to comment.