From 6a3444ca6840ee4624d1c2c2936ad3530820103f Mon Sep 17 00:00:00 2001 From: Scott Duncombe Date: Wed, 21 Feb 2018 17:36:27 -0800 Subject: [PATCH] Added call to console.log or console.error --- src/tools/create-logger-console.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/create-logger-console.js b/src/tools/create-logger-console.js index 8fdc32f..00277e4 100644 --- a/src/tools/create-logger-console.js +++ b/src/tools/create-logger-console.js @@ -11,6 +11,8 @@ const createLoggerConsole = input => { input._zapier.promises.push(promise); next(); + + (console[data.log_type] || console.log)(chunk.toString()) }; const stdout = new stream.Writable({