1
0
Fork 0
mirror of https://github.com/yavook/kiwi-scp.git synced 2024-11-21 20:33:00 +00:00

fixed regression: Changed "directory" option name

This commit is contained in:
Jörn-Michael Miehe 2021-11-17 15:06:44 +01:00
parent 0f7c7f6955
commit 7f892bcff2

View file

@ -38,9 +38,9 @@ class CMD(KiwiCommand):
"""Initialize or reconfigure a kiwi-scp instance"""
@classmethod
def run_for_instance(cls, instance: Instance, output: Path = None, force: bool = None) -> None:
if output is not None:
instance.directory = output
def run_for_instance(cls, instance: Instance, directory: Path = None, force: bool = None) -> None:
if directory is not None:
instance.directory = directory
current_config = KiwiConfig() if force else instance.config