pkgs/cli: Improve tense of message in machines create

Change the log message tense from present to continuous for improved clarity.
The message "Add file" has been changed to "Adding file" to provide a clear
indication that the file addition is an ongoing process, not a
command (for the user).
This commit is contained in:
a-kenji
2024-11-10 01:14:40 +01:00
parent 855161088f
commit 182ea02c46

View File

@@ -118,7 +118,7 @@ def create_machine(opts: CreateOptions) -> None:
def log_copy(src: str, dst: str) -> None:
relative_dst = dst.replace(f"{clan_dir}/", "")
log.info(f"Add file: {relative_dst}")
log.info(f"Adding file: {relative_dst}")
shutil.copy2(src, dst)
shutil.copytree(src, dst, ignore_dangling_symlinks=True, copy_function=log_copy)