We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 722924e commit c7dc9c8Copy full SHA for c7dc9c8
1 file changed
tools/pfe-tools/cli/commands/lint.ts
@@ -58,19 +58,13 @@ export async function handler(argv: Opts) {
58
return;
59
}
60
61
- if (missing.size) {
62
- if (!argv.quiet) {
63
- for (const [, x] of missing) {
64
- console.log(chalk.red`missing export`, x);
65
- }
+ if (!argv.quiet) {
+ for (const [, x] of missing) {
+ console.log(chalk.red`missing export`, x);
66
67
68
69
- if (noTarget.size) {
70
71
- for (const [k, x] of noTarget) {
72
- console.log(`${chalk.red`target`} ${chalk.yellow(x)} for export ${chalk.blue(k)} ${chalk.red`doesn't exist`}`);
73
+ for (const [k, x] of noTarget) {
+ console.log(`${chalk.red`target`} ${chalk.yellow(x)} for export ${chalk.blue(k)} ${chalk.red`doesn't exist`}`);
74
75
76
0 commit comments