Skip to content

Commit

Permalink
Replace template literal; fixes #3367 (#3368)
Browse files Browse the repository at this point in the history
  • Loading branch information
felthy authored and Timer committed Oct 31, 2017
1 parent beafab2 commit b544611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/react-dev-utils/webpackHotDevClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ var ErrorOverlay = require('react-error-overlay');
ErrorOverlay.setEditorHandler(function editorHandler(errorLocation) {
// Keep this sync with errorOverlayMiddleware.js
fetch(
`${launchEditorEndpoint}?fileName=` +
launchEditorEndpoint +
'?fileName=' +
window.encodeURIComponent(errorLocation.fileName) +
'&lineNumber=' +
window.encodeURIComponent(errorLocation.lineNumber || 1)
Expand Down

0 comments on commit b544611

Please sign in to comment.