Skip to content

Commit 0933914

Browse files
committed
chore: update
1 parent 412267e commit 0933914

File tree

1 file changed

+2
-4
lines changed
  • packages/core/src/node/logger

1 file changed

+2
-4
lines changed

packages/core/src/node/logger/hint.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ export async function hintThemeBreakingChange(customThemeDir: string) {
4747

4848
export function hintBuilderPluginsBreakingChange(config: UserConfig) {
4949
if (
50-
// @ts-ignore config.builderPlugins is removed in V2
51-
config.builderPlugins &&
52-
// @ts-ignore
50+
// config.builderPlugins is removed in V2
51+
'builderPlugins' in config &&
5352
Array.isArray(config.builderPlugins) &&
54-
// @ts-ignore
5553
config.builderPlugins.length > 0
5654
) {
5755
logger.error(

0 commit comments

Comments
 (0)