mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-04-19 23:48:05 +02:00
Fix exclude website list
This commit is contained in:
parent
6d070f8649
commit
e598e3196d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ async function main() {
|
|||
};
|
||||
const markdown = await fs.readFile(README, 'utf8');
|
||||
let links = extract_all_links(markdown);
|
||||
links = links.filter((l) => !exclude[l]); // exclude websites
|
||||
links = links.filter((l) => !(exclude[l] && l.startsWith(exclude[l]))); // exclude websites
|
||||
|
||||
const duplicates = find_duplicates(links);
|
||||
if (duplicates.length > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue