diff options
author | Munyoki Kilyungi | 2024-02-15 14:52:54 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-02-15 14:52:54 +0300 |
commit | 4477c6ee29dcb28c7cba17c81ae420896c31093f (patch) | |
tree | b5e0f6733d282b6281e4ab3a1f01866cce08e4be | |
parent | 7353f9dac336c6ef4dbe30aa4de8c2053d605997 (diff) | |
download | gn-transform-databases-4477c6ee29dcb28c7cba17c81ae420896c31093f.tar.gz |
Filter out files that only have "None".
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-x | examples/dataset-metadata-git.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/dataset-metadata-git.scm b/examples/dataset-metadata-git.scm index 023e4c6..aeced0a 100755 --- a/examples/dataset-metadata-git.scm +++ b/examples/dataset-metadata-git.scm @@ -20,7 +20,9 @@ (define (infopages/sql->rtf result) (let* ((get (cut assoc-ref result <>)) (get* (compose (lambda (str) - (if (string-blank? str) + (if (or (string-blank? str) + (string-ci=? + (string-trim-both str) "None")) #f str)) get)) |