Adjust spacing in template string expressions.

This commit is contained in:
John-David Dalton
2017-04-08 22:41:48 -07:00
parent 303502efa7
commit d10b44bdef
29 changed files with 90 additions and 90 deletions

View File

@@ -89,7 +89,7 @@ function truncate(string, options) {
const substring = result
if (!separator.global) {
separator = RegExp(separator.source, `${ reFlags.exec(separator) || '' }g`)
separator = RegExp(separator.source, `${reFlags.exec(separator) || ''}g`)
}
separator.lastIndex = 0
while ((match = separator.exec(substring))) {