Skip to content
Snippets Groups Projects
Commit 9f468248 authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Add newlines to the file index

parent ec5c1cf4
No related branches found
No related tags found
No related merge requests found
......@@ -69,6 +69,7 @@ class InstallAction(Action):
json.dump(metadata, f)
with open(self.config.installed_component_file_list_path(self.build.component.name), "w") as f:
f.truncate(0)
new_files = [f"{f}\n" for f in new_files]
f.writelines(new_files)
def _is_satisfied(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment