mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
guix: import: allow empty description
* guix/import/utils.scm (beautify-description)[new-words]: Don't fail the `match` when the package has an empty description. Change-Id: I23e9cfeae1da98bb8705fcfc8ff81906d272d72e
This commit is contained in:
@@ -389,7 +389,8 @@ LENGTH characters."
|
||||
(string-suffix? "?" last))
|
||||
last
|
||||
(string-append last "."))
|
||||
(reverse rest))))))
|
||||
(reverse rest))))
|
||||
(() new-words))) ;; No description in package
|
||||
(cleaned
|
||||
(string-join (map fix-word new-words))))
|
||||
;; Use double spacing between sentences
|
||||
|
||||
Reference in New Issue
Block a user