Put backticks around template to make transition so we can compile Coffeescript before interpolating it. #829
This commit is contained in:
parent
fba3d2d18e
commit
43661e8888
@ -554,7 +554,7 @@ Main =
|
||||
title += " (+#{errors.length - 1} other errors)" if errors.length > 1
|
||||
details = ''
|
||||
addDetails = (text) ->
|
||||
unless encodeURIComponent(title + details + text + '\n').length > <%= meta.newIssueMaxLength - meta.newIssue.replace(/%(title|details)/, '').length %>
|
||||
unless encodeURIComponent(title + details + text + '\n').length > `<%= meta.newIssueMaxLength - meta.newIssue.replace(/%(title|details)/, '').length %>`
|
||||
details += text + '\n'
|
||||
addDetails """
|
||||
[Please describe the steps needed to reproduce this error.]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user