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 gaearon committed Oct 31, 2017
1 parent 87643fd commit e62bfdd
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 e62bfdd

Please sign in to comment.