1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-27 14:43:00 +00:00

respect override_storage

This commit is contained in:
Jörn-Michael Miehe 2022-02-22 00:02:08 +01:00
parent b30188c8dc
commit d4eb91dae8

View file

@ -43,6 +43,9 @@ class Project:
kiwi_config_dir: Path = kiwi_instance_dir.joinpath(CONFIG_DIRECTORY_NAME)
kiwi_project_dir: Path = kiwi_instance_dir.joinpath(project_name)
if self.config.override_storage is not None:
kiwi_project_dir = self.config.override_storage.directory
result: Dict[str, Any] = {
"cwd": str(directory),
"env": {