From 170a1f8629acf3442a70aae803554289b3a451c9 Mon Sep 17 00:00:00 2001 From: Max Ostapenko <1611259+max-ostapenko@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:00:33 +0100 Subject: [PATCH] typo --- scripts/upload_technology.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upload_technology.js b/scripts/upload_technology.js index 33352860b..b7057aea6 100644 --- a/scripts/upload_technology.js +++ b/scripts/upload_technology.js @@ -38,13 +38,13 @@ const getRuleObject = (value) => { const loadToBigQuery = async ( data, - tableName, + tableName = 'apps', datasetName = 'wappalyzer', writeDisposition = 'WRITE_TRUNCATE', sourceFormat = 'NEWLINE_DELIMITED_JSON' ) => { if (!data) { - throw new Error(`No data to load from \`${datasetName}.${tableName}\`.`) + throw new Error(`No data to load to \`${datasetName}.${tableName}\`.`) } const bigquery = new BigQuery({