Skip to content

HAMUR_E6309: A scripts:registry entry has the wrong shape

A scripts:registry entry has the wrong shape. Error HAMUR_E6309 belongs to @hamur/scripts (6301 – 6400).

Message

text
HAMUR_E6309 scripts:registry: entries["<name>"] must be a registry entry { name, schema, script, use, trigger, hosts }

Cause

An entry added with the scripts:registry hook is not { name, schema, script, use, trigger, hosts }.

Fix

Write it in that shape.