Skip to content

Commit

Permalink
Merge pull request #38 from photogabble/patch/v1.1.0/#37
Browse files Browse the repository at this point in the history
BUGFIX: Broken dead-links lookup due to typo
  • Loading branch information
carbontwelve authored May 3, 2024
2 parents b4ab575 + 933b0bc commit e603481
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Bugfix broken dead-links lookup due to typo (#38)
- Bugfix do not render embeds if the page linked doesn't exist (#35)
- Bugfix do not parse links in pages excluded from collections (#30)
- Bugfix do not exclude root index page
Expand Down
2 changes: 1 addition & 1 deletion src/dead-links.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = class DeadLinks {
if (!this.fileSrc) this.fileSrc = 'unknown';

const names = this.gravestones.has(link)
? this.gravestones.get(this.fileSrc)
? this.gravestones.get(link)
: [];

names.push(this.fileSrc)
Expand Down

0 comments on commit e603481

Please sign in to comment.