From 00e187181c6090902f3e2aeb95b19aadc85c1029 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E8=B4=A7=E6=9C=BA=E5=99=A8=E4=BA=BA?= Date: Thu, 5 Dec 2024 16:55:13 +0800 Subject: [PATCH] chore: rm useless code --- src/generate/dayjs.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/generate/dayjs.ts b/src/generate/dayjs.ts index 91291ce30..24584fee1 100644 --- a/src/generate/dayjs.ts +++ b/src/generate/dayjs.ts @@ -100,9 +100,13 @@ const parseLocale = (locale: string) => { return mapLocale || locale.split('_')[0]; }; +/* istanbul ignore next */ const parseNoMatchNotice = () => { - /* istanbul ignore next */ - noteOnce(false, 'Not match any format. Please help to fire a issue about this.'); + // zombieJ: + // When user typing, its always miss match format. + // This check is meaningless. + // https://github.com/ant-design/ant-design/issues/51839 + // noteOnce(false, 'Not match any format. Please help to fire a issue about this.'); }; const generateConfig: GenerateConfig = {