Skip to content

Commit f14a3f7

Browse files
Merge pull request #108 from TheDragonCode/build/app-16p8w59
Application compiled successfully
2 parents 1aa0e16 + 09a6954 commit f14a3f7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

dist/index.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34689,6 +34689,7 @@ exports.phpIcons = [
3468934689
{
3469034690
query: "symfony/",
3469134691
icon: "https://symfony.com/logos/symfony_black_03.svg",
34692+
exclude: ["polyfill", "var-dumper"]
3469234693
},
3469334694
];
3469434695
exports.jsIcons = [];
@@ -34698,9 +34699,17 @@ const find = (dependencies, icons) => {
3469834699
const names = Object.keys(dependencies);
3469934700
for (const name of names) {
3470034701
for (const icon of icons) {
34701-
if (name.includes(icon.query)) {
34702+
if (!name.includes(icon.query)) {
34703+
continue;
34704+
}
34705+
if (!icon.exclude) {
3470234706
return icon.icon;
3470334707
}
34708+
for (const exclude of icon.exclude) {
34709+
if (name.includes(exclude)) {
34710+
return icon.icon;
34711+
}
34712+
}
3470434713
}
3470534714
}
3470634715
return undefined;

0 commit comments

Comments
 (0)