Skip to content

Commit e56a5e2

Browse files
authored
small cleanup in catch (#2159)
1 parent 15b3937 commit e56a5e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkgs/test_core/lib/src/util/package_config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Future<Uri> absoluteUri(String path) async {
3232
try {
3333
final packageConfig = await currentPackageConfig;
3434
return packageConfig.toPackageUri(absoluteUri) ?? absoluteUri;
35-
} on StateError catch (_) {
35+
} on StateError {
3636
// Workaround for a missing package config.
3737
return absoluteUri;
3838
}

0 commit comments

Comments
 (0)