From 00f39a642c0eeb6f9556b319f8f4f9fc30dc42c2 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 3 Sep 2024 18:15:33 +0100 Subject: command-line-tool: Report ID of input whose type is not specified. * ravanan/command-line-tool.scm (collect-input-files): Report ID of input whose type is not specified. --- ravanan/command-line-tool.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ravanan/command-line-tool.scm b/ravanan/command-line-tool.scm index 391ed81..d2281ba 100644 --- a/ravanan/command-line-tool.scm +++ b/ravanan/command-line-tool.scm @@ -322,7 +322,7 @@ basename of the original path, and not the store-interned path." (types (map (lambda (formal-input) (let ((id (assoc-ref formal-input "type"))) (or (assoc-ref formal-input "type") - (error "Type of input not specified" id)))) + (error "Type of input ~a not specified" id)))) formal-inputs))) (append-map (lambda (input type-tree) ;; Check type. -- cgit v1.2.3