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 committed Mar 5, 2017
1 parent 6f18606 commit 830fe20
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 830fe20

Please sign in to comment.