Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulioRandall committed May 1, 2024
1 parent 31e09e4 commit 7d36244
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Simple tool for adding parsable metadata as comments within Svelte components.",
"type": "module",
"license": "MIT",
"version": "0.4.0",
"version": "0.4.1",
"engines": {
"node": ">=18"
},
Expand Down
4 changes: 1 addition & 3 deletions src/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,7 @@ const extractNodes = (data, options) => {
const htmlRegexp = newHtmlNodeRegexp(options.prefix)
const htmlNodes = extractNodesWithRegexp(data, htmlRegexp)

const n = joinNodeTrees(jsNodes, htmlNodes)
console.log(n)
return n
return joinNodeTrees(jsNodes, htmlNodes)
}

const extractNodesWithRegexp = (data, regexp) => {
Expand Down

0 comments on commit 7d36244

Please sign in to comment.