Bug: converter combines separate strings
stuartleeks opened this issue · comments
Stuart Leeks commented
With template-string-converter.convertOutermostQuotes
to true
, when opening a curly brace after the $
here:
this.test('first string', 'second string$')
the result is:
this.test(`first string', 'second string${}`)
Note how it has changed the quote on the first string parameter, with the result that the two strings have now become a single string.
The result I expected is:
this.test('first string', `second string${}`)
Megan Rogge commented
You can do this by setting template-string-converter.convertOutermostQuotes
to false