FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: actually exit build when Twig render fails · pattern-lab/patternlab-node@5d28a24 · GitHub

This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 5d28a24

Browse files
authored
fix: actually exit build when Twig render fails
1 parent a2062dd commit 5d28a24

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/engine-twig-php/lib/engine_twig_php.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ const engine_twig_php = {
9090
if (results.ok) {
9191
resolve(results.html + details);
9292
} else {
93-
reject(results.message);
93+
console.log(results.message);
94+
process.exit(1);
9495
}
9596
})
9697
.catch(error => {

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL