diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/FileGenerator.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/FileGenerator.py b/scripts/FileGenerator.py index b4fe02653..aaa0a8ac9 100644 --- a/scripts/FileGenerator.py +++ b/scripts/FileGenerator.py @@ -167,6 +167,8 @@ def UpdateLineInFile(path, linePrefix, lineReplace): updated = True else: lines.append(l) + if not updated: + print(f"{path}:0: Can't find '{linePrefix}'") contents = lineEnd.join(lines) + lineEnd UpdateFile(path, contents) |