Skip to content

Commit d71fdf0

Browse files
committed
don't split identifier at space, as space could to part of paths
1 parent 4c965bf commit d71fdf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util/identifier.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const absoluteToRequest = (context, maybeAbsolutePath) => {
5353
*/
5454
const _makePathsRelative = (context, identifier) => {
5555
return identifier
56-
.split(/([|! ])/)
56+
.split(/([|!])/)
5757
.map(str => absoluteToRequest(context, str))
5858
.join("");
5959
};

0 commit comments

Comments
 (0)