Skip to content

Commit

Permalink
fix(index.js): remove clang formatting on js
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahacad committed Jul 9, 2021
1 parent 9efff9e commit 554669c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ function visitor(node) {
node.lang &&
(node.lang.toLowerCase() == 'c++' ||
node.lang.toLowerCase() == 'cpp' ||
node.lang.toLowerCase() == 'c' ||
node.lang.toLowerCase() == 'javascript')
node.lang.toLowerCase() == 'c')
) {
const child = spawnSync('clang-format', { input: node.value });
node.value = child.stdout;
Expand Down

0 comments on commit 554669c

Please sign in to comment.