mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06: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:
parent
dd7a377c38
commit
b609498bcf
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue