Skip to content

Commit

Permalink
chore(deps): update dependency prettier to v3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat committed Jul 18, 2024
1 parent 91b7496 commit 69451d2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"jsdom": "24.1.0",
"jsdom-global": "3.0.2",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
"prettier": "3.3.3",
"reflect-metadata": "0.2.2",
"rollup": "4.18.1",
"tslib": "2.6.3",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function textContent(element: Node): string {
// we check if the element is a comment first
// to return an empty string in that case, instead of the comment content
return element.nodeType !== Node.COMMENT_NODE
? element.textContent?.trim() ?? ''
? (element.textContent?.trim() ?? '')
: ''
}

Expand Down

0 comments on commit 69451d2

Please sign in to comment.