We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6287000 commit a8a2b6fCopy full SHA for a8a2b6f
1 file changed
src/index.ts
@@ -62,7 +62,7 @@ function detective(src, options: detective.Options = { url: false }) {
62
const files = nodes
63
.filter((node) => isUrlNode(node))
64
.map((node) => getValueOrUrl(node))
65
- .filter((file): file is string => !!file);
+ .filter((file): file is string => Boolean(file));
66
67
for (const file of files) {
68
debug('found %s of %s', 'url() in declaration', file);
0 commit comments