Skip to content

Commit

Permalink
Update open (#7910)
Browse files Browse the repository at this point in the history
  • Loading branch information
andriijas authored and ianschmitz committed Oct 31, 2019
1 parent b4fe788 commit b68c777
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-dev-utils/openBrowser.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function startBrowserProcess(browser, url, args) {
// Fallback to open
// (It will always open new tab)
try {
var options = { app: browser, wait: false };
var options = { app: browser, wait: false, url: true };
open(url, options).catch(() => {}); // Prevent `unhandledRejection` error.
return true;
} catch (err) {
Expand Down
2 changes: 1 addition & 1 deletion packages/react-dev-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"inquirer": "6.5.0",
"is-root": "2.1.0",
"loader-utils": "1.2.3",
"open": "^6.3.0",
"open": "^7.0.0",
"pkg-up": "2.0.0",
"react-error-overlay": "^6.0.3",
"recursive-readdir": "2.2.2",
Expand Down

0 comments on commit b68c777

Please sign in to comment.