Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
j-f1 committed Jan 15, 2018
1 parent db0f4a1 commit 8d57ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/curly.js
Expand Up @@ -256,7 +256,7 @@ module.exports = {
data: {
name
},
fix: fixer => fixer.replaceText(bodyNode, `{${sourceCode.getText(bodyNode)}}`)
fix: fixer => fixer.replaceText(body, `{${sourceCode.getText(body)}}`)
});
} else {
context.report({
Expand Down

0 comments on commit 8d57ac3

Please sign in to comment.