mirror of
https://github.com/veggiemonk/awesome-docker.git
synced 2025-01-03 03:31:18 -05: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');
|
||||
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…
Reference in New Issue
Block a user