Adjust severity of irreversible operations (#43721)

This commit is contained in:
Kyle Knoepfel
2024-04-22 09:41:53 -05:00
committed by GitHub
parent 080fc875eb
commit e1f2612581

View File

@@ -644,8 +644,8 @@ def reversed(self) -> "EnvironmentModifications":
elif isinstance(envmod, AppendFlagsEnv):
rev.remove_flags(envmod.name, envmod.value)
else:
tty.warn(
f"Skipping reversal of unreversable operation {type(envmod)} {envmod.name}"
tty.debug(
f"Skipping reversal of irreversible operation {type(envmod)} {envmod.name}"
)
return rev