Skip to content

Commit

Permalink
log key
Browse files Browse the repository at this point in the history
  • Loading branch information
tinayuangao committed Jan 24, 2017
1 parent df0a81e commit bcfd84b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/gulp/task_helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ export function openScreenshotsCloudStorage() {

/** Opens a connection to the firebase realtime database for screenshots. */
export function openScreenshotsFirebaseDatabase() {
console.log(process.env['MATERIAL2_SCREENSHOT_FIREBASE_KEY']);
console.log((process.env['MATERIAL2_SCREENSHOT_FIREBASE_KEY'] || '').replace(/\\n/g, '\n'));
// Initialize the Firebase application with admin credentials.
// Credentials need to be for a Service Account, which can be created in the Firebase console.
let screenshotApp = firebaseAdmin.initializeApp({
Expand Down

0 comments on commit bcfd84b

Please sign in to comment.