Skip to content

Commit f728314

Browse files
committed
fix warnings
1 parent b59a4e3 commit f728314

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/compile_svgs.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Script needs print for CLI progress/output
12
// ignore_for_file: avoid_print
23

34
/// Compiles all SVG assets to .vec format for vector_graphics package.
@@ -97,7 +98,7 @@ Future<bool> _compileSvg(
9798
print('✗ $fileName - Error: $error');
9899
return false;
99100
}
100-
} catch (e) {
101+
} on Exception catch (e) {
101102
print('✗ $fileName - Error: $e');
102103
return false;
103104
}

0 commit comments

Comments
 (0)