Skip to content

Commit

Permalink
removing console log
Browse files Browse the repository at this point in the history
  • Loading branch information
BatMiles committed Sep 11, 2024
1 parent 24b9957 commit d4775a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pptr-utils/get-links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export const dedupLinks = (links_with_duplicates: LinkObject[]):LinkObject[] =>

export const getSocialLinks = (links: LinkObject[]): LinkObject[] => {
const spRegex = new RegExp(`\\b(${SOCIAL_URLS.join('|')})\\b`, 'i');
console.log(spRegex);
return links.filter(link => {
return link.href.match(spRegex);
});
Expand Down

0 comments on commit d4775a5

Please sign in to comment.