scripts: import: Add two newlines for ‘--insert’ option.

For consistency with ‘insert-expression’.

* guix/scripts/import.scm (guix-import): Add two newlines after inserting.

Change-Id: I55b45ca137d175fdf6ee5c0bb2b6b1ca8385750d
This commit is contained in:
Hilton Chain 2025-02-27 10:30:38 +08:00
parent a6598a9019
commit 115accdb26
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -141,6 +141,7 @@ PROC callback."
(let ((port (open-file file "a")))
(pretty-print-with-comments port expr)
(newline port)
(newline port)
(close-port port)))))))))
(import-as-definitions importer args find-and-insert)))
((importer args ...)