Skip to content

Commit

Permalink
Take Coffeescript stuff out of this template. #829
Browse files Browse the repository at this point in the history
  • Loading branch information
ccd0 committed Jul 25, 2019
1 parent e38e6e2 commit 25dd9d5
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 @@ -556,7 +556,7 @@ Main =
addDetails data.error.stack.replace(data.error.toString(), '').trim() if data.error.stack
addDetails '\n`' + data.html + '`' if data.html
details = details.replace /file:\/{3}.+\//g, '' # Remove local file paths
url = "<%= meta.newIssue.replace('%title', '#{encodeURIComponent title}').replace('%details', '#{encodeURIComponent details}') %>"
url = '<%= meta.newIssue %>'.replace('%title', encodeURIComponent title).replace('%details', encodeURIComponent details)
<%= html('<span class="report-error"> [<a href="${url}" target="_blank">report</a>]</span>') %>

isThisPageLegit: ->
Expand Down

0 comments on commit 25dd9d5

Please sign in to comment.