-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
Description
Description
When localhost is provided as host name for gitlab or mainserver, the CLI generates an error.
Steps to Reproduce
- Install AutolabJS
- Install autolabjs CLI on the same host.
- Try to change the host name for gitlab or main server.
Expected behavior: [What you expect to happen]
Accepts localhost as a valid host name.
Actual behavior: [What actually happens]
Rejects localhost as an invalid host name.
Reproduces how often: [What percentage of the time does it reproduce?]
Every time
Additional Information
The relevant logs are as follows.
$git clone https://github.com/AutolabJS/autolabcli.git -b dev
$cd autolabcli
$npm i
$ nodejs index.js prefs changeserver --type gitlab --host localhost
Please provide a valid host
vagrant@ubuntu-xenial:~/autolabcli$ nodejs index.js prefs changeserver --type ms --host localhost --port 9000
Please provide a valid host