build script: fix text file update without processor

This commit is contained in:
alexey.lysiuk 2020-12-17 11:33:20 +02:00
parent 58f425e67a
commit 5ed71bf57a

View file

@ -147,7 +147,7 @@ class Target(BaseTarget):
patched_content = []
for line in content:
patched_line = processor(line)
patched_line = processor(line) if processor else line
if patched_line:
patched_content.append(patched_line)