Skip to content

Commit

Permalink
Add debug flag for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
navzam committed Aug 16, 2024
1 parent 8d4e123 commit c1bf7f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"serve": "npm run build && firebase emulators:start --only functions",
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"deploy": "firebase deploy --only functions --debug",
"logs": "firebase functions:log"
},
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { onSchedule } from "firebase-functions/v2/scheduler";
import * as logger from "firebase-functions/logger";

export const unconsentedUserCleanup = onSchedule("every 5 mins", async () => {
logger.info("Hello from auto-deployed function unconsentedUserCleanup!", { structuredData: true });
logger.info("Hello from function unconsentedUserCleanup 2!", { structuredData: true });
});

0 comments on commit c1bf7f5

Please sign in to comment.