Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
ensure canonicalization fix for traceConditionalEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Sep 15, 2016
1 parent e5132e3 commit b2a80c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,10 @@ Builder.prototype.traceConditionalEnv = function(expression, opts) {

var self = this;

return this.trace(expression, traceOpts)
return canonicalizeConditions(self.loader, traceOpts)
.then(function() {
return self.trace(expression, traceOpts);
})
.then(function(tree) {
return Trace.getConditionalEnv(self, tree, traceOpts);
});
Expand Down

0 comments on commit b2a80c7

Please sign in to comment.