From aee4525aad81dcbd4e74f0fc5e1c3b3100c7cc76 Mon Sep 17 00:00:00 2001 From: jaypatel1210 Date: Sat, 19 Oct 2024 17:06:26 +0530 Subject: [PATCH] Revert "fix: remove usage" This reverts commit a51f61fa9785e13b02f6938d64997cd1d911d3d0. --- firefetch/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firefetch/index.js b/firefetch/index.js index 066881c..f53543a 100644 --- a/firefetch/index.js +++ b/firefetch/index.js @@ -120,3 +120,8 @@ async function downloadFromFirebase(remoteDir, localDir) { admin.app().delete(); // Clean up Firebase app } } + +// Usage +const remoteDir = process.env.PROJECTID; +const localDir = process.env.LOCALDIR; +downloadFromFirebase(remoteDir, localDir);