Skip to content

Commit

Permalink
Fix: Use ===
Browse files Browse the repository at this point in the history
  • Loading branch information
allanlei committed Jan 18, 2024
1 parent d1553eb commit 7497b89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

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

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function versionFilter({
depth === versionMarkerDepth,
[
versionText && text?.startsWith(versionText),
tokens?.[0].type == 'link' && tokens?.[0]?.text.startsWith(versionText)
tokens?.[0].type === 'link' && tokens?.[0]?.text.startsWith(versionText)
].some(Boolean)
].every(Boolean)
}
Expand Down

0 comments on commit 7497b89

Please sign in to comment.