This commit is contained in:
Erik Johnson 2024-03-11 09:28:58 -05:00 committed by Pedro Algarvio
parent 6da38663e7
commit 8512c0893a

View file

@ -3900,9 +3900,9 @@ def directory(
if __opts__["test"]:
ret["changes"]["backup"] = f"{name} would be renamed to {backupname}"
ret["changes"][name] = {"directory": "new"}
ret[
"comment"
] = f"{name} would be backed up and replaced with a new directory"
ret["comment"] = (
f"{name} would be backed up and replaced with a new directory"
)
ret["result"] = None
return ret
else: