Skip to content

Commit

Permalink
Prettier eslint collision again!
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Nov 11, 2023
1 parent 424a4bf commit 88fe5ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TemplateMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class TemplateMap {
return str.slice("collections.".length);
}
// Fixes #2851
// eslint-disable-next-line quotes
if (str.startsWith("collections['") || str.startsWith('collections["')) {
return str.slice("collections['".length, -2);
}
Expand Down

0 comments on commit 88fe5ef

Please sign in to comment.