Do not bail on SHOW_CONFIG_FOR matches (#12954)

Co-authored-by: Babel Bot <babel-bot@users.noreply.github.com>
This commit is contained in:
Huáng Jùnliàng
2021-03-23 15:02:07 -04:00
committed by GitHub
parent b360d8d614
commit b784c81aeb
13 changed files with 15 additions and 13 deletions

View File

@@ -261,9 +261,9 @@ export function* buildRootChain(
// print config by the order of ascending priority
[configReport, babelRcReport, programmaticReport]
.filter(x => !!x)
.join("\n\n"),
.join("\n\n") +
"\n-----End Babel configs-----",
);
return null;
}
// Insert file chain in front so programmatic options have priority
// over configuration file chain items.