Skip to content

Commit

Permalink
Chrome devtools breaks on parsing $` (#1198)
Browse files Browse the repository at this point in the history
Co-authored-by: Narcis Radu <[email protected]>
  • Loading branch information
chrischrischris and narcis-radu authored Sep 1, 2023
1 parent 3c98564 commit 00fe5d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/features/personalization/personalization.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function normalizePath(p) {

const matchGlob = (searchStr, inputStr) => {
const pattern = searchStr.replace(/\*\*/g, '.*');
const reg = new RegExp(`^${pattern}$`, 'i');
const reg = new RegExp(`^${pattern}$`, 'i'); // devtool bug needs this backtick: `
return reg.test(inputStr);
};

Expand Down

0 comments on commit 00fe5d1

Please sign in to comment.