mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-13 08:30:05 +01:00
Template dependency injection
This commit is contained in:
parent
1da40bce6f
commit
886c22937d
12 changed files with 39 additions and 8 deletions
10
test/cli/bad_template/input/config.yaml
Normal file
10
test/cli/bad_template/input/config.yaml
Normal 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
|
||||
1
test/cli/bad_template/input/templates/bad_template.js
Normal file
1
test/cli/bad_template/input/templates/bad_template.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
const bad = require('nonexistent_require')
|
||||
Loading…
Add table
Add a link
Reference in a new issue