Skip to content

Commit

Permalink
Don't use ES6 in a file that should run on Node 4 (#1724)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored Mar 5, 2017
1 parent 01c3597 commit ed9eeeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/openBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function openBrowser(url) {
// Attempt to honor this environment variable.
// It is specific to the operating system.
// See https://github.com/sindresorhus/opn#app for documentation.
let browser = process.env.BROWSER;
var browser = process.env.BROWSER;

// Special case: BROWSER="none" will prevent opening completely.
if (browser === 'none') {
Expand Down

0 comments on commit ed9eeeb

Please sign in to comment.