From dfb0172375eebb7f776ca0d5ab16aea35e4b24ea Mon Sep 17 00:00:00 2001 From: Bobby Wang Date: Tue, 5 Jan 2021 16:42:55 +1100 Subject: [PATCH] Add console.log to spark index file --- FT_functions/functions/src/sparks/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/FT_functions/functions/src/sparks/index.ts b/FT_functions/functions/src/sparks/index.ts index 513828b3..c9a09a0e 100644 --- a/FT_functions/functions/src/sparks/index.ts +++ b/FT_functions/functions/src/sparks/index.ts @@ -40,6 +40,9 @@ const spark = (sparkConfig) => async ( ? await shouldRun(sparkContext) : shouldRun) : false; // + + console.log("type is ", type, "dontRun value is", dontRun); + if (dontRun) return false; const sparkData = await Object.keys(sparkBody).reduce( async (acc, key) => ({