Skip to content

Commit

Permalink
fix: add temporary debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dipratap committed Sep 30, 2024
1 parent 3c31b6e commit 28e461e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/metatags/handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ export default async function auditMetaTags(message, context) {
}
seoChecks.finalChecks();
const detectedTags = seoChecks.getDetectedTags();
log.info(`Detected tags - ${JSON.stringify(detectedTags)}`);
// Prepare Audit result
const auditResult = {
detectedTags,
Expand Down
1 change: 0 additions & 1 deletion src/metatags/seo-checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ class SeoChecks {
this.checkForMissingTags(url, pageTags);
this.checkForTagsLength(url, pageTags);
this.checkForH1Count(url, pageTags);
this.log.info(`Found tags ${this.detectedTags.length}`);
// store tag data in all tags object to be used in later checks like uniqueness
this.addToAllTags(TITLE, pageTags[TITLE]);
this.addToAllTags(DESCRIPTION, pageTags[DESCRIPTION]);
Expand Down

0 comments on commit 28e461e

Please sign in to comment.