mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2024-10-01 01:36:03 -04:00
Fix exclude website list
This commit is contained in:
parent
6d070f8649
commit
e598e3196d
@ -145,7 +145,7 @@ async function main() {
|
|||||||
};
|
};
|
||||||
const markdown = await fs.readFile(README, 'utf8');
|
const markdown = await fs.readFile(README, 'utf8');
|
||||||
let links = extract_all_links(markdown);
|
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);
|
const duplicates = find_duplicates(links);
|
||||||
if (duplicates.length > 0) {
|
if (duplicates.length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user