Adjust severity of irreversible operations (#43721)
This commit is contained in:
parent
080fc875eb
commit
e1f2612581
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user