mirror of
https://github.com/TECHNOFAB11/ergogen.git
synced 2025-12-13 16:40:05 +01:00
Extend footprint test coverage
This commit is contained in:
parent
3aef729465
commit
1de68843ce
8 changed files with 1023 additions and 4 deletions
|
|
@ -170,9 +170,9 @@ const footprint = exports._footprint = (points, net_indexer, component_indexer,
|
|||
if (a.type(value)() == 'string' && value.startsWith('=') && point) {
|
||||
const indirect = value.substring(1)
|
||||
value = point.meta[indirect]
|
||||
if (value === undefined) {
|
||||
throw new Error(`Indirection "${name}.params.${param}" --> "${point.meta.name}.${indirect}" to undefined value!`)
|
||||
}
|
||||
// if (value === undefined) {
|
||||
// throw new Error(`Indirection "${name}.params.${param_name}" --> "${point.meta.name}.${indirect}" to undefined value!`)
|
||||
// }
|
||||
}
|
||||
parsed_params.param[param_name] = value
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue