Skip to content

Commit

Permalink
Put backticks around template to make transition so we can compile Co…
Browse files Browse the repository at this point in the history
…ffeescript before interpolating it. #829
  • Loading branch information
ccd0 committed Jul 26, 2019
1 parent fba3d2d commit 43661e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/Main.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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.]
Expand Down

0 comments on commit 43661e8

Please sign in to comment.