lib/generators: abort on pattern match failure
This commit is contained in:
parent
93d3561b57
commit
319722113e
@ -130,6 +130,6 @@ rec {
|
||||
(name: value:
|
||||
"${toPretty args name} = ${toPretty args value};") v)
|
||||
+ " }"
|
||||
else "toPretty: should never happen (v = ${v})";
|
||||
else abort "toPretty: should never happen (v = ${v})";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user