mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
@@ -182,7 +182,7 @@ function template(string, options) {
|
||||
// Escape characters that can't be included in string literals.
|
||||
source += string
|
||||
.slice(index, offset)
|
||||
.replace(reUnescapedString, chr => `\\${ stringEscapes[chr] }`)
|
||||
.replace(reUnescapedString, (chr) => `\\${ stringEscapes[chr] }`)
|
||||
|
||||
// Replace delimiters with snippets.
|
||||
if (escapeValue) {
|
||||
|
||||
Reference in New Issue
Block a user