Ludovic Courtès d10474c38d
lint: formatting: Gracefully handle relative file names.
Fixes <https://bugs.gnu.org/42543>.
Reported by Jack Hill <jackhill@jackhill.us>.

* guix/lint.scm (check-formatting): Always return a list (previously we
would return #f when 'search-path' returns #f).  Check whether
LOCATION's file is a relative file name.  Return a warning if not.
* tests/guix-lint.sh: Add test.
2020-08-23 23:05:16 +02:00
..
2018-09-04 17:25:11 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-05-04 09:56:12 +02:00
2020-06-05 22:54:06 +02:00
2020-06-05 22:54:06 +02:00
2019-12-12 17:56:58 +01:00
2018-09-07 11:40:22 +02:00
2019-04-10 17:09:47 +02:00
2020-05-11 23:30:55 +02:00
2020-06-14 23:02:36 +02:00
2019-12-12 17:56:57 +01:00
2018-09-04 17:25:11 +02:00
2020-01-16 18:30:57 +01:00
2020-05-04 09:56:12 +02:00
2019-03-24 00:13:53 +01:00
2019-04-10 17:09:47 +02:00
2020-06-27 23:42:20 +02:00
2020-02-27 23:29:30 +01:00
2019-06-14 21:57:39 +02:00