Skip to content
Permalink
Browse files

Proposed fix

  • Loading branch information...
dminkovsky committed Feb 20, 2016
1 parent f95bc48 commit e42e53a9b850ab28f0e16547fd4de2e230cfe455
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/language/visitor.js
@@ -254,7 +254,7 @@ export function visit(root, visitor, keyMap) {
} while (stack !== undefined);

if (edits.length !== 0) {
newRoot = edits[0][1];
newRoot = edits[edits.length - 1][1];
}

return newRoot;

0 comments on commit e42e53a

Please sign in to comment.
You can’t perform that action at this time.