Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 08349ae

Browse files
committed
permit empty wildcards
1 parent dc7896c commit 08349ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/system.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function applyPaths(paths, name) {
4949
}
5050

5151
var outPath = paths[pathMatch] || name;
52-
if (wildcard)
52+
if (typeof wildcard == 'string')
5353
outPath = outPath.replace('*', wildcard);
5454

5555
return outPath;

0 commit comments

Comments
 (0)