Project

General

Profile

Actions

Bug #6249

closed

rudderify ncf-hook does not work on first run

Added by Vincent MEMBRÉ about 9 years ago. Updated about 9 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
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

Also available in: Atom PDF