Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
update comment about windows to include other platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedotexe committed May 8, 2020
1 parent 27ed982 commit 1cdbfa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ exports.login = async function (options) {

// find a callback URL on the local machine
try {
if (isMac) { // capture callback is currently not working on windows. This is a workaround to not use it
// capture callback isn't working reliably outside of Mac. This is a workaround to not use it
if (isMac) {
tempUrl = await capture.callback(5000);
// if we found a suitable URL, attempt to use it
newUrl.searchParams.set('success_url', `http://${tempUrl.hostname}:${tempUrl.port}`);
Expand Down

0 comments on commit 1cdbfa6

Please sign in to comment.