wrap another unknown template in error in backticks

This commit is contained in:
jacekpoz 2024-05-25 13:17:05 +02:00
parent b837ac9be5
commit 851e39d544
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -44,7 +44,7 @@ pkgs: {extraArgs, entries, templates}: let
foundTemplateFile = findTemplateFile entry;
in
if foundTemplateFile == null then
abort "template ${entry.template} not found"
abort "template `${entry.template}` not found"
else
applyTemplate entry foundTemplateFile;