Skip to content

Commit fe07751

Browse files
committed
cleanup
1 parent 4515e2d commit fe07751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/quotes.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { TSESTree } from '@typescript-eslint/types';
1212
*/
1313
function clean(ast) {
1414
walk(ast, null, {
15-
_(node, { next }) {
16-
if (node.type === 'Literal') delete node.raw;
15+
Literal(node, { next }) {
16+
delete node.raw;
1717

1818
next();
1919
}

0 commit comments

Comments
 (0)