porteurbars
porteurbars copied to clipboard
Unclear error when local directory doesn't exist
I just got this error when I made a typo in the directory:
$ porteurbars file:///home/jonas/dev/cargo-template ~/TEMPLATE-TEST
error: failed to clone repo /home/jonas/dev/cargo-template@master
caused by: unsupported URL protocol; class=Net (12)
"unsupported URL protocol" is a pretty odd way to say "directory doesn't exist" ;)
good point. I'll see if I can find a way to catch that specific error and provide a clearer error message