You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/vagrant/test/node_modules/common-tags/lib/stripIndentTransformer/stripIndentTransformer.js:20
var match = endResult.match(/^[^\S\n]*(?=\S)/gm);
^
TypeError: Cannot read property 'match' of undefined
at Object.onEndResult (/home/vagrant/test/node_modules/common-tags/lib/stripIndentTransformer/stripIndentTransformer.js:20:31)
at cb (/home/vagrant/test/node_modules/common-tags/lib/TemplateTag/TemplateTag.js:161:50)
at Array.reduce (<anonymous>)
at TemplateTag.transformEndResult (/home/vagrant/test/node_modules/common-tags/lib/TemplateTag/TemplateTag.js:163:32)
at TemplateTag.tag (/home/vagrant/test/node_modules/common-tags/lib/TemplateTag/TemplateTag.js:54:20)
Because of SyntaxError was raised in template string, and TemplateTag.tag will get undefined string.
SyntaxError: Octal escape sequences are not allowed in template strings.
The text was updated successfully, but these errors were encountered:
Currently this code will give an
TypeError
.Result is:
Because of
SyntaxError
was raised in template string, andTemplateTag.tag
will get undefined string.The text was updated successfully, but these errors were encountered: