This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
Fix typo in generators copier.yaml to be able to execute the copier task that informs about successful execution #48
Labels
bug
Something isn't working
Current copier yaml on smart contract generator has a typo for tasks definition,
_task
, but should be_tasks
instead.Somehow this went unnoticed during the initial release of that generator, most likely due to the fact that this task was simple echo and the actual copying behavior worked as expected.
In order to fix it we need to add a few additional handlers into cli repo itself given that (i believe enforced from v9.x of copier) running copy task on any copier yaml with _tasks defined will fail by default, you need to pass --trust flag. Instead prior to running copier cli would need to parse the copier answers file, parse the repo from where it was loaded compare it against blessed templates and then depending on whether its a generator coming from official repo or not it will:
The text was updated successfully, but these errors were encountered: