From 9d97918c600cbedcb9ffcdbbd6127a1f2a988a1d Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Thu, 26 Mar 2020 09:51:01 -0700 Subject: [PATCH] [flutter_tools] Prepare for OSError to implement Exception (#53258) --- .../lib/src/build_system/targets/icon_tree_shaker.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart b/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart index 5f6a75c566..f4b902a000 100644 --- a/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart +++ b/packages/flutter_tools/lib/src/build_system/targets/icon_tree_shaker.dart @@ -188,7 +188,7 @@ class IconTreeShaker { await fontSubsetProcess.stdin.close(); } on Exception catch (_) { // handled by checking the exit code. - } on OSError catch (_) { + } on OSError catch (_) { // ignore: dead_code_on_catch_subtype // handled by checking the exit code. }