From d995fa4294700fe945736f3b97a019ceb29e0d28 Mon Sep 17 00:00:00 2001 From: Charlie Benger-Stevenson Date: Mon, 14 Oct 2024 13:42:12 +0100 Subject: [PATCH] Trying to improve coverage --- src/destinations/postgresDestination.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/destinations/postgresDestination.js b/src/destinations/postgresDestination.js index bf3e91e..49a6bbb 100644 --- a/src/destinations/postgresDestination.js +++ b/src/destinations/postgresDestination.js @@ -8,7 +8,7 @@ function isKeyWord(column) { } function getMappingForColumn(mapping, column){ - if(mapping.length === 0) { return } + if(mapping.length === 0) { return {} } const [map] = mapping.filter(m => m.column === column) return map }