Actions
Bug #6249
closedrudderify ncf-hook does not work on first run
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
At first ncf technique creation, ncf hooks tries to commit ncf_techniques forlder but failed in its check since command to check ncf_techniques existence fails:
git ls-tree -r master --name-only | grep -c "${CATEGORY_PATH}"
This return exit status 1 (grep does not find CATEGORY_PATH and that is what we want)
Just adding '|| true' at the end works
Actions