Skip to content

Commit 2b79d41

Browse files
authored
[cli] Fix issue where CLI stalls after login on MacOS (#181)
1 parent 750fbb7 commit 2b79d41

File tree

1 file changed

+1
-1
lines changed
  • packages/@sanity/cli/src/actions/login

1 file changed

+1
-1
lines changed

packages/@sanity/cli/src/actions/login/login.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function loginFlow({output, provider, apiClient}, resolve, reject) {
4545
const loginUrl = url.format(providerUrl)
4646
output.print(`\nOpening browser at ${loginUrl}\n`)
4747
spin.start()
48-
open(loginUrl)
48+
open(loginUrl, {wait: false})
4949
}
5050

5151
function onServerRequest(req, res) {

0 commit comments

Comments
 (0)