From 2b1eca8e76a9de2cd5cf5bb44c573fc315ae2301 Mon Sep 17 00:00:00 2001 From: sofisl <55454395+sofisl@users.noreply.github.com> Date: Tue, 26 May 2020 00:52:09 -0700 Subject: [PATCH] fix: sample view (do not call function in sample) (#1829) --- composer/composer_transform_csv_to_json.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/composer/composer_transform_csv_to_json.js b/composer/composer_transform_csv_to_json.js index 2693c1f82e..2544eeca5a 100644 --- a/composer/composer_transform_csv_to_json.js +++ b/composer/composer_transform_csv_to_json.js @@ -40,8 +40,8 @@ module.exports = function main( var jsonString = JSON.stringify(weatherInCity); return jsonString; } - - transformCSVtoJSON(line); - // [END composer_transform_csv_to_json] + +// [END composer_transform_csv_to_json] + return transformCSVtoJSON(line); };