Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): use
||
instead of
??`` because getEndpoint() can return ""
Since the `??`` operator only returns the right side if the left side is null or undefined, it will not work if getEndpoint() returns an empty string. `||`, however, will return the right side if the left side is an empty string.
- Loading branch information