fix: Use cache key for repository lookup
- Changed the repository lookup in `repo_new_from_gitlocation` to use the cache key instead of the repository name. - Added a new client `livekit` to the `test_basic.vsh` script for testing purposes. Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ pub fn (mut gitstructure GitStructure) repo_new_from_gitlocation(git_location Gi
|
|||||||
status_local: GitRepoStatusLocal{}
|
status_local: GitRepoStatusLocal{}
|
||||||
status_wanted: GitRepoStatusWanted{}
|
status_wanted: GitRepoStatusWanted{}
|
||||||
}
|
}
|
||||||
gitstructure.repos[repo.name] = &repo
|
gitstructure.repos[repo.cache_key()] = &repo
|
||||||
|
|
||||||
return &repo
|
return &repo
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -179,6 +179,9 @@ clients/meilisearch
|
|||||||
clients/zdb
|
clients/zdb
|
||||||
clients/openai
|
clients/openai
|
||||||
systemd_process_test.v
|
systemd_process_test.v
|
||||||
|
|
||||||
|
// We should fix that one
|
||||||
|
clients/livekit
|
||||||
'
|
'
|
||||||
|
|
||||||
tests_error := '
|
tests_error := '
|
||||||
|
|||||||
Reference in New Issue
Block a user