Template dependency injection

This commit is contained in:
Bán Dénes 2024-04-09 22:38:24 +02:00
parent 1da40bce6f
commit 886c22937d
12 changed files with 39 additions and 8 deletions

View file

@ -0,0 +1 @@
node src/cli.js test/cli/bad_template/input --clean

View file

@ -0,0 +1 @@
Unknown dependency "nonexistent_require" among the requirements of injection "bad_template"!

View file

@ -0,0 +1,10 @@
points.zones.matrix:
outlines:
box:
- what: rectangle
where: true
size: 18
pcbs:
bad_template:
outlines.edge.outline: box
template: bad_template

View file

@ -0,0 +1 @@
const bad = require('nonexistent_require')