gnucash maint: gnc:cmdline-check-report should return #t if everything passes.

John Ralls jralls at code.gnucash.org
Sat Aug 8 19:15:45 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/59f3376e (commit)
	from  https://github.com/Gnucash/gnucash/commit/e8da10ba (commit)



commit 59f3376e7527668a5219d495f11cadad8e4667e0
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Aug 8 16:15:31 2020 -0700

    gnc:cmdline-check-report should return #t if everything passes.

diff --git a/gnucash/report/report-core.scm b/gnucash/report/report-core.scm
index ef692b367..51c3f029d 100644
--- a/gnucash/report/report-core.scm
+++ b/gnucash/report/report-core.scm
@@ -813,7 +813,8 @@ not found.")))
       (stderr-log "\n"))
 
      (export-type (template-export report (car templates)
-                                   export-type output-file #t)))))
+                                   export-type output-file #t))
+    (else #t))))
 
 (define-public (gnc:cmdline-template-export report export-type output-file)
   (let* ((templates (reportname->templates report)))



Summary of changes:
 gnucash/report/report-core.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the gnucash-changes mailing list