Use absolute path for GIT_REPO_URL file:// URL
file:// URLs do not support relative paths.
This change uses $PWD to make an absolute path based on where the
user is running Crates on their local machine.
This fixes issue
@@ -28,7 +28,7 @@ export TEST_DATABASE_URL=
# Remote and local locations of the registry index. You can leave these to
# use a `tmp` subdirectory of the working directory, which is what the
# script in `./script/init-local-index.sh` will set up for you.
-export GIT_REPO_URL=file://./tmp/index-bare
+export GIT_REPO_URL=file://$PWD/tmp/index-bare
export GIT_REPO_CHECKOUT=./tmp/index-co
# Credentials for talking to github. You can leave these blank if you're
