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
Describe the bug
These commands exit with code 1:
To Reproduce
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:
Additional context