Skip to content

Commit

Permalink
chore: rm useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Dec 5, 2024
1 parent 6bebb39 commit 00e1871
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/generate/dayjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<Dayjs> = {
Expand Down

0 comments on commit 00e1871

Please sign in to comment.