Skip to content

Commit

Permalink
Update transform_files.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Oct 31, 2022
1 parent 781fe55 commit 2d1d1da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/transform_files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,7 @@ function transformClass(type, raw, options = {}) {
superTransforms.push({
node,
methodName: methodNameArg.value,
value:
removeParen && out[out.length - 1] === ')'
? out.slice(0, -1)
: out,
value: out,
});
}
},
Expand Down

0 comments on commit 2d1d1da

Please sign in to comment.