Add console.log to spark index file

This commit is contained in:
Bobby Wang
2021-01-05 16:42:55 +11:00
parent 470c4954e3
commit dfb0172375

View File

@@ -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) => ({