We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c68a82a commit f4eef7aCopy full SHA for f4eef7a
src/commands/functions-config-export.ts
@@ -52,12 +52,12 @@ export const command = new Command("functions:config:export")
52
let configJson: Record<string, unknown>;
53
try {
54
configJson = await functionsConfig.materializeAll(projectId);
55
- } catch (err: any) {
+ } catch (err: unknown) {
56
throw new FirebaseError(
57
`Failed to fetch runtime config for project ${projectId}. ` +
58
"Ensure you have the required permissions:\n\t" +
59
RUNTIME_CONFIG_PERMISSIONS.join("\n\t"),
60
- { original: err },
+ { original: err as Error },
61
);
62
}
63
0 commit comments