Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
d7my11 committed Nov 21, 2019
1 parent 8f7cc8f commit 238cf2c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/typeRemover.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const methodArgumentHandler = (match) => {
console.log({match})
return match.split(',').map((arg) => arg.replace(/:.+/g, '')).join(',')
}
const methodArgumentHandler = (match) =>
match.split(',').map((arg) => arg.replace(/:.+/g, '')).join(',')

const rules = [
{ matcher: /(?<=\()([A-Za-z]*(?:\s)?:(?:\s)?[A-Za-z<>]*.*?)(?=\))/g, handler: methodArgumentHandler },
Expand Down

0 comments on commit 238cf2c

Please sign in to comment.