We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
webAuth
1 parent 1298d8e commit 76b8c6dCopy full SHA for 76b8c6d
lib/utils/web-auth.js
@@ -1,7 +1,7 @@
1
const EventEmitter = require('events')
2
const { webAuthCheckLogin } = require('npm-profile')
3
4
-function webAuth (opener, initialUrl, doneUrl, opts) {
+async function webAuth (opener, initialUrl, doneUrl, opts) {
5
const doneEmitter = new EventEmitter()
6
7
const openPromise = opener(initialUrl, doneEmitter)
0 commit comments