Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When using it like `fioctl configure-git --creds-path ~/.config` there is no problem however if you use it like `fioctl configure-git --creds-path=~/.config` there is. The reason lies in the fact that in the first example the shell already expands the ~ into the absolute path of the homedir, in the second it will not. Let's throw an error the same way golang does itself. golang/go@8b6534b#diff-7c289d314f17f4e276724c62cfd8dd5e2c7dffad2d900987f8eae83192ad15bdL131 Signed-off-by: Eric Bode <eric.bode@foundries.io>
- Loading branch information