From 0677dfae115d8c11f3b31a9179bc57ab29a3b167 Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Mon, 25 Jul 2022 09:34:55 +0200 Subject: [PATCH] Add newline before [[depends-on]] and [[pins]] (#1108) When these are automatically added by `alr with`/`alr pin`. This is more in line with what we see in manually edited manifests. --- src/alire/alire-manifest.adb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/alire/alire-manifest.adb b/src/alire/alire-manifest.adb index 91b2cbc5..3a229294 100644 --- a/src/alire/alire-manifest.adb +++ b/src/alire/alire-manifest.adb @@ -21,6 +21,7 @@ package body Alire.Manifest is (File => Name, Lines => AAA.Strings.Empty_Vector + .Append ("") .Append ("[[" & TOML_Keys.Depends_On & "]]") .Append (Dep.Manifest_Image), Backup => False); @@ -41,6 +42,7 @@ package body Alire.Manifest is (File => File, Lines => AAA.Strings.Empty_Vector + .Append ("") .Append ("[[" & TOML_Keys.Pins & "]]") .Append (Pin.To_Manifest_Line (Crate)), Backup => False); -- 2.39.5