summaryrefslogtreecommitdiff
path: root/javascript/freq.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/freq.js')
-rw-r--r--javascript/freq.js6
1 files changed, 4 insertions, 2 deletions
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