Skip to content
Snippets Groups Projects

hooks: fix task when condition on hook copy/template

Merged Sevan Murriguian-Watrin requested to merge fix_hook_first_found into master

Previous implementation was not woking because with_first_found act as a list. So it's resolved / expanded before the when statement. It will fail if for exmaple the user only has templates and no files because with_first_found will return an error.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply