intuit/auto

`auto version` and `auto info` fail on node@20.11

arminrosu opened this issue · 0 comments

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