We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbca07b commit e7c80a5Copy full SHA for e7c80a5
packages/ui/src/cli/utils/create-init-logger.ts
@@ -20,7 +20,8 @@ export function createInitLogger(config: Config) {
20
);
21
},
22
get showWarning() {
23
- return this.checkedMap.values().find((value) => value) === undefined;
+ return this.checkedMap.size > 0 &&
24
+ !Array.from(this.checkedMap.values()).some(Boolean);
25
26
/**
27
* Checks if `<ThemeInit />` component is used in the given file content
0 commit comments