We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d58f4 commit 3e029fcCopy full SHA for 3e029fc
src/options/block-indent.js
@@ -45,7 +45,7 @@ let option = {
45
var spaces = whitespaceNode.content.replace(/\n[ \t]+/gm, '\n');
46
47
if (spaces === '') {
48
- ast.remove(i);
+ ast.removeChild(i);
49
} else {
50
whitespaceNode.content = spaces;
51
}
0 commit comments