Skip to content

Commit

Permalink
Revert "fix: remove usage"
Browse files Browse the repository at this point in the history
This reverts commit a51f61f.
  • Loading branch information
jaypatel1210 committed Oct 19, 2024
1 parent a51f61f commit aee4525
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions firefetch/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit aee4525

Please sign in to comment.