We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c0cca commit f487b6fCopy full SHA for f487b6f
bricks/dart_frog_prod_server/hooks/lib/src/pubspec_lock/pubspec_lock.dart
@@ -28,7 +28,9 @@ class PubspecLock {
28
late final YamlMap yaml;
29
try {
30
yaml = loadYaml(content) as YamlMap;
31
- } on Exception catch (_) {
+ // ignoring for backward compatibility
32
+ // ignore: avoid_catches_without_on_clauses
33
+ } catch (_) {
34
throw const PubspecLockParseException();
35
}
36
@@ -46,7 +48,9 @@ class PubspecLock {
46
48
data: entry.value as YamlMap,
47
49
);
50
parsedPackages.add(package);
51
52
53
54
// Ignore those packages that for some reason cannot be parsed.
55
56
0 commit comments