`auto version` and `auto info` fail on node@20.11
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 221
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
These commands exit with code 1:
```bash
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:**
```txt
"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**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.