From 883edd61fe0f375ef3e6d86cbac5ea99cdf7d752 Mon Sep 17 00:00:00 2001 From: Geo Halkiadakis Date: Thu, 13 Apr 2023 17:34:02 +0300 Subject: patches for keygan; patches shall be absorbed into the main proccedure (work in progress) --- javascript/freq.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'javascript/freq.js') diff --git a/javascript/freq.js b/javascript/freq.js index 75c862e..f760926 100644 --- a/javascript/freq.js +++ b/javascript/freq.js @@ -22,7 +22,7 @@ const os = require('os'); const {Storage} = require('@google-cloud/storage'); // import Google Cloud client library - +console.log('dependensies initialized'); // #2 // SETUP PERSONALIZED CONSTANTS AND PARAMETRES @@ -142,7 +142,7 @@ async function upload_file( bucketName, srcFilePath, trgFilePath ) { * used as entry-point function (in case of Google Cloud function) */ -exports.main = () => { // google cloud function entry point +var main = () => { // google cloud function entry point console.log('temporary file:', temp_file); @@ -192,3 +192,5 @@ exports.main = () => { // google cloud function entry point }); } + +main(); \ No newline at end of file -- cgit v1.2.3