fix: ensure extract_plugin_versions.py output ends with newline to prevent GH Actions EOF error
This commit is contained in:
@@ -295,6 +295,8 @@ def main():
|
||||
if args.output:
|
||||
with open(args.output, "w", encoding="utf-8") as f:
|
||||
f.write(output)
|
||||
if not output.endswith("\n"):
|
||||
f.write("\n")
|
||||
print(f"Output written to {args.output}")
|
||||
else:
|
||||
print(output)
|
||||
|
||||
Reference in New Issue
Block a user