8000 Fix unsafe regexp · postcss/postcss@8682b1e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8682b1e

Browse files
committed
Fix unsafe regexp
1 parent 6f608a1 commit 8682b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/previous-map.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class PreviousMap {
5454
}
5555

5656
loadAnnotation(css) {
57-
let annotations = css.match(/\/\*\s*# sourceMappingURL=.*\s*\*\//gm)
57+
let annotations = css.match(/\/\*\s*# sourceMappingURL=.*\*\//gm)
5858

5959
if (annotations && annotations.length > 0) {
6060
// Locate the last sourceMappingURL to avoid picking up

0 commit comments

Comments
 (0)
0