mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Removes to early content stripping (stripping is allready done when needed with ident:true), fixes #39220
This commit is contained in:
parent
a4b169e0bd
commit
e8a41d6341
@ -1598,7 +1598,6 @@ def line(path, content, match=None, mode=None, location=None,
|
||||
elif mode == 'ensure':
|
||||
after = after and after.strip()
|
||||
before = before and before.strip()
|
||||
content = content and content.strip()
|
||||
|
||||
if before and after:
|
||||
_assert_occurrence(body, before, 'before')
|
||||
|
Loading…
Reference in New Issue
Block a user