Skip to content

Commit

Permalink
Merge pull request #5 from jaypatel1210/revent-firefetch
Browse files Browse the repository at this point in the history
Revert "fix: remove usage"
  • Loading branch information
jaypatel1210 authored Oct 19, 2024
2 parents 3dc2407 + aee4525 commit 01b74e2
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 01b74e2

Please sign in to comment.