Skip to content

Commit f725a17

Browse files
lazdGarthDB
authored andcommitted
feat: support FORCE=true environment variable to allow broken components
1 parent 44026f8 commit f725a17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/bundle-builder/subrunner/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ function runTaskOnPackages(task, packages) {
9292
if (packageDir) {
9393
runComponentTask(packageDir, task, function(err) {
9494
if (err) {
95-
process.exit();
95+
if (!process.env.FORCE) {
96+
process.exit();
97+
}
9698
}
9799
processPackage();
98100
});

0 commit comments

Comments
 (0)