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

Commit

Permalink
permit empty wildcards
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Aug 26, 2015
1 parent dc7896c commit 08349ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function applyPaths(paths, name) {
}

var outPath = paths[pathMatch] || name;
if (wildcard)
if (typeof wildcard == 'string')
outPath = outPath.replace('*', wildcard);

return outPath;
Expand Down

0 comments on commit 08349ae

Please sign in to comment.