Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto version and auto info fail on node@20.11 #2439

Open
arminrosu opened this issue Feb 27, 2024 · 0 comments
Open

auto version and auto info fail on node@20.11 #2439

arminrosu opened this issue Feb 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@arminrosu
Copy link

Describe the bug

These commands exit with code 1:

VERSION=$(npx auto version)

# Also fails, equivalent to above
npx auto version | read VERSION

# 
npx auto info
(node:21308) [DEP0170] DeprecationWarning: The URL http://git@github.com:our-organization/repository.git is invalid. Future versions of Node.js will throw an error.
(Use `node --trace-deprecation ...` to show where the warning was created)

Environment Information:
# ...

To Reproduce

nvm install 20.11.1
npx auto info

Expected behavior

Should exit with code 0, warning should not be displayed as the URL is valid. url.parse may think it is a port.

Screenshots

Environment information:

"auto" version: v11.1.1 - Also happens in 11.0.4
"git"  version: v2.41.0
"node" version: v20.11.0 - Also happens on 20.11.1

Additional context

@arminrosu arminrosu added the bug Something isn't working label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant