You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of packages in my project is a private GitHub repository. If this package is present in list of dependencies the command freezes with Username for 'https://github.com' printed to console. Entering text doesn't resolve the issue and script stays frozen.
If I remove that package from dependencies the command no longer freezes and correctly lists outdated versions.
The text was updated successfully, but these errors were encountered:
Unfortunately I don't have a great solution for this right now, but the best workaround is to use passwordless SSH auth (or using the workaround in #17 for password-protected SSH keys), that way the internal call to git ls-remote will just work and not ask for credentials.
Another option could be to configure your git to use the system keychain as a credential helper (using git config --global credential.helper osxkeychain) which would also let git remember your credentials and not get swift-outdated stuck on the password input.
I think the best option for swift-outdated would be to error out in the case of being prompted for a password, but I don't yet know how best to approach that.
One of packages in my project is a private GitHub repository. If this package is present in list of dependencies the command freezes with
Username for 'https://github.com'
printed to console. Entering text doesn't resolve the issue and script stays frozen.If I remove that package from dependencies the command no longer freezes and correctly lists outdated versions.
The text was updated successfully, but these errors were encountered: