Skip to content

Commit

Permalink
chore: review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Molinié committed Jan 3, 2022
1 parent 5ec705f commit 179bc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/block-indentation.js
Expand Up @@ -280,7 +280,7 @@ module.exports = class BlockIndentation extends Rule {
}
}

// Process all the child with the path to access the child from the current node
// Recreate the node only if the source has changed, otherwise this would mean useless computation and possible mistake
if (sourceBeforeFix !== this.sourceEdited) {
fixedNode = this.fixLine(
this.sourceEdited.split('\n'),
Expand Down

0 comments on commit 179bc67

Please sign in to comment.