Renvoie toujours les variables manquantes des conséquences de variation

pull/197/head
Laurent Bossavit 2018-04-13 18:51:01 +02:00
parent 94d54f6847
commit 2d60dc5136
1 changed files with 1 additions and 3 deletions

View File

@ -159,9 +159,7 @@ let devariate = (recurse, k, v) => {
let leftMissing = choice
? {}
: mergeAllMissing(pluck('condition', explanation)),
rightMissing = choice === false
? {}
: mergeAllMissing(satisfied),
rightMissing = mergeAllMissing(satisfied),
missingVariables = mergeMissing(bonus(leftMissing), rightMissing)
return rewriteNode(node, nodeValue, explanation, missingVariables)