Project

General

Profile

Actions

Bug #6249

closed

rudderify ncf-hook does not work on first run

Added by Vincent MEMBRÉ over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
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