We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
null
undefined
1 parent 9d04794 commit 66be874Copy full SHA for 66be874
1 file changed
packages/icon/index.js
@@ -68,7 +68,7 @@ async function findIcon (options) {
68
options.iconSrc,
69
path.resolve(this.options.srcDir, this.options.dir.static, options.iconFileName),
70
path.resolve(this.options.srcDir, this.options.dir.assets, options.iconFileName)
71
- ]
+ ].filter(p => p)
72
73
for (const iconSrc of iconSearchPath) {
74
if (await fs.exists(iconSrc)) {
0 commit comments