From 126b9b33e38fb718e7a3cc1fd2ec4335d4c94b59 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Mon, 13 Feb 2023 16:51:29 -0500 Subject: [PATCH] chore(striker-ui): identify missing handler for netmask error --- striker-ui/components/NetworkInitForm.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/striker-ui/components/NetworkInitForm.tsx b/striker-ui/components/NetworkInitForm.tsx index 03860ccb..86d8e836 100644 --- a/striker-ui/components/NetworkInitForm.tsx +++ b/striker-ui/components/NetworkInitForm.tsx @@ -681,6 +681,7 @@ const NetworkInitForm = forwardRef< try { subnet = new Netmask(`${ip}/${mask}`); + // TODO: find a way to express the netmask creation error // eslint-disable-next-line no-empty } catch (netmaskError) {} @@ -702,6 +703,7 @@ const NetworkInitForm = forwardRef< isMatch = match(otherSubnet, { b: subnet, bIP: ip }); + // TODO: find a way to express the netmask creation error // eslint-disable-next-line no-empty } catch (netmaskError) {}