Commit e62bfdd7 authored by Pete Feltham's avatar Pete Feltham Committed by Dan Abramov
Browse files

Replace template literal; fixes #3367 (#3368)

parent 87643fdb
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 2 additions and 1 deletion
+2 -1
...@@ -26,7 +26,8 @@ var ErrorOverlay = require('react-error-overlay'); ...@@ -26,7 +26,8 @@ var ErrorOverlay = require('react-error-overlay');
ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) { ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {
// Keep this sync with errorOverlayMiddleware.js // Keep this sync with errorOverlayMiddleware.js
fetch( fetch(
`${launchEditorEndpoint}?fileName=` + launchEditorEndpoint +
'?fileName=' +
window.encodeURIComponent(errorLocation.fileName) + window.encodeURIComponent(errorLocation.fileName) +
'&lineNumber=' + '&lineNumber=' +
window.encodeURIComponent(errorLocation.lineNumber || 1) window.encodeURIComponent(errorLocation.lineNumber || 1)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment