mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
teams: Don't add empty lines to CODEOWNERS.
* etc/teams.scm: (export-codeowners): Only add a newline if a team has a scope. * CODEOWNERS: Regenerate file. Change-Id: I11b039d848f166a44bca2caa626e6e1321d33c42 Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
This commit is contained in:
committed by
Gabriel Wicki
parent
593f867fc3
commit
4a5a19ea43
@@ -308,7 +308,6 @@ gnu/packages/lxqt\.scm @guix/lxqt
|
||||
|
||||
gnu/packages/mate\.scm @guix/mate
|
||||
|
||||
|
||||
gnu/build/icecat-extension\.scm @guix/mozilla
|
||||
gnu/packages/browser-extensions\.scm @guix/mozilla
|
||||
gnu/packages/gnuzilla\.scm @guix/mozilla
|
||||
|
||||
@@ -1833,8 +1833,12 @@ and REV-END, two git revision strings."
|
||||
# usually suited as a reviewer.\n\n"
|
||||
port)
|
||||
(for-each (lambda (team)
|
||||
(display (team->codeowners-snippet team) port)
|
||||
(newline port))
|
||||
(let ((scope (team->codeowners-snippet team)))
|
||||
;; Some teams, like Mentors and Community have no scope,
|
||||
;; which would result in seemingly arbitrary newlines.
|
||||
(unless (string-null? scope)
|
||||
(display scope port)
|
||||
(newline port))))
|
||||
teams)))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user