Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure the implementation in the headers is in a <dd><a>
Browse files Browse the repository at this point in the history
deniak committed Dec 16, 2024
1 parent 2289eac commit 87ba493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rules/metadata/profile.js
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ export async function check(sr, done) {
// implementation report
if (['CR', 'CRD', 'PR', 'REC'].indexOf(id) > -1) {
const dts = sr.extractHeaders();
if (dts.Implementation) {
if (dts.Implementation?.dd?.querySelector('a')) {
meta.implementationReport =
dts.Implementation.dd.querySelector('a').href;
}

0 comments on commit 87ba493

Please sign in to comment.