Skip to content

Commit

Permalink
Fix typo in cloneNode. (#9832)
Browse files Browse the repository at this point in the history
  • Loading branch information
evandervalk authored and jridgewell committed Apr 8, 2019
1 parent b4224ed commit 165ef29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/babel-types/src/clone/cloneNode.js
Expand Up @@ -66,7 +66,7 @@ export default function cloneNode<T: Object>(node: T, deep: boolean = true): T {
newNode.leadingComments = node.leadingComments;
}
if (has(node, "innerComments")) {
newNode.innerComments = node.innerCmments;
newNode.innerComments = node.innerComments;
}
if (has(node, "trailingComments")) {
newNode.trailingComments = node.trailingComments;
Expand Down

0 comments on commit 165ef29

Please sign in to comment.