lint: source: Always return a list.
authorLudovic Courtès <ludo@gnu.org>
Tue, 21 Jul 2020 15:30:23 +0000 (17:30 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 21 Jul 2020 15:50:44 +0000 (17:50 +0200)
commite5c00059560c6280aff3dac3c9c3a8b5477832ef
tree31bff04152812e58a5005afea7dddf15db33168f
parentfa3d9c4db4407cebf9bdb2e251595bd25193c95e
lint: source: Always return a list.

Fixes a regression introduced in
c10526672e515f07c92dc447bbc592808f67238e.

Previously we would return *unspecified* for a package whose source is
not an origin.

* guix/lint.scm (check-source): Add alternate 'if' branch.
guix/lint.scm