Skip to content

Commit

Permalink
Update open to the latest version 🚀 (#192)
Browse files Browse the repository at this point in the history
* fix(package): update open to version 7.0.0

* use the new `url` option
  • Loading branch information
greenkeeper[bot] authored and goto-bus-stop committed Oct 17, 2019
1 parent 19131a3 commit a9cc2bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/authenticate.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ function authenticateViaBrowser (url, isAskFlow = false, isPrivate = false, clea

console.log('Authentication required. Opening the login page in a browser...')
// Open the url in the default browser
open(cliLoginUrl, { wait: false }).then((child) => {
open(cliLoginUrl, { url: true, wait: false }).then((child) => {
child.on('exit', (code) => {
if (code !== 0) {
console.log('Could not find a browser. Visit this URL to authenticate:')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"insight": "^0.10.1",
"jsonwebtoken": "^8.3.0",
"minimist": "^1.2.0",
"open": "^6.4.0",
"open": "^7.0.0",
"ora": "^3.0.0",
"pump": "^3.0.0",
"pumpify": "^2.0.0",
Expand Down

0 comments on commit a9cc2bf

Please sign in to comment.