Skip to content

Commit 057b981

Browse files
committed
Fix currently not allowed new syntax
1 parent 33fa5a3 commit 057b981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/src/json-viewer/url-pattern.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ function absolutePath() {
7070
relativePath(); /* resource path*/
7171
}
7272

73-
module.exports = new RegExp(`^(${absolutePath()}|${relativePath()})$`, "i");
73+
module.exports = new RegExp("^(" + absolutePath() + "|" + relativePath() + ")$", "i");

0 commit comments

Comments
 (0)