From 4f3d0fc8c50f132a7c86a5e4d29e381159f0fb2a Mon Sep 17 00:00:00 2001 From: Marshall Main Date: Tue, 28 Jul 2020 01:30:14 -0400 Subject: [PATCH] Update comment --- .../lists/server/routes/create_exception_list_item_route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/lists/server/routes/create_exception_list_item_route.ts b/x-pack/plugins/lists/server/routes/create_exception_list_item_route.ts index 49bde6f4e08871..26cf454009aaff 100644 --- a/x-pack/plugins/lists/server/routes/create_exception_list_item_route.ts +++ b/x-pack/plugins/lists/server/routes/create_exception_list_item_route.ts @@ -140,8 +140,8 @@ export const createExceptionListItemRoute = (router: IRouter): void => { statusCode: 500, }); } - // Unnecessary since validatedItems comes from exceptionListItems which is already checked for null, but - // typescript fails to detect that + // Unnecessary since validatedItems comes from exceptionListItems which is already + // checked for null, but typescript fails to detect that if (validatedItems == null) { await exceptionLists.deleteExceptionListItemById({ id: createdList.id,