wrap invalid template in backticks

This commit is contained in:
jacekpoz 2024-05-25 01:37:17 +02:00
parent 45c69b3773
commit b3c4693262
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

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