Skip to content

Commit 24c9768

Browse files
committed
chore: add debug info about ceredentials processing
1 parent d82ffbc commit 24c9768

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/createGACFile.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ import { writeSync, existsSync } from "fs";
2020
// Set up Google Application Credentials for use by the Firebase CLI
2121
// https://cloud.google.com/docs/authentication/production#finding_credentials_automatically
2222
export async function createGacFile(googleApplicationCredentials: string) {
23+
console.debug("processing GAC credentials: " + googleApplicationCredentials)
2324
try {
2425
if (existsSync(googleApplicationCredentials)) {
2526
return googleApplicationCredentials;
2627
}
2728
}
2829
catch (e) {
30+
console.log("failed to check existence of %s\nerror: %O", googleApplicationCredentials, e)
2931
// googleApplicationCredentials is not a path to a file
3032
}
3133
const tmpFile = fileSync({ postfix: ".json" });

0 commit comments

Comments
 (0)