Skip to content

Commit

Permalink
Run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
inlined committed Mar 23, 2022
1 parent bafd76a commit d3e1c02
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/deploy/functions/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ export async function prepare(
? "mixed"
: "runtime_config"
: usedDotenv
? "dotenv"
: "none";
? "dotenv"
: "none";
void track("functions_codebase_deploy_env_method", tag);

logger.debug(`Analyzing ${runtimeDelegate.name} backend spec`);
Expand Down Expand Up @@ -123,21 +123,21 @@ export async function prepare(
if (backend.someEndpoint(wantBackend, () => true)) {
logBullet(
clc.cyan.bold("functions:") +
" preparing " +
clc.bold(sourceDirName) +
" directory for uploading..."
" preparing " +
clc.bold(sourceDirName) +
" directory for uploading..."
);
}
if (backend.someEndpoint(wantBackend, (e) => e.platform === "gcfv2")) {
if (!previews.functionsv2) {
throw new FirebaseError(
"This version of firebase-tools does not support Google Cloud " +
"Functions gen 2\n" +
"If Cloud Functions for Firebase gen 2 is still in alpha, sign up " +
"for the alpha program at " +
"https://services.google.com/fb/forms/firebasealphaprogram/\n" +
"If Cloud Functions for Firebase gen 2 is in beta, get the latest " +
"version of Firebse Tools with `npm i -g firebase-tools@latest`"
"Functions gen 2\n" +
"If Cloud Functions for Firebase gen 2 is still in alpha, sign up " +
"for the alpha program at " +
"https://services.google.com/fb/forms/firebasealphaprogram/\n" +
"If Cloud Functions for Firebase gen 2 is in beta, get the latest " +
"version of Firebse Tools with `npm i -g firebase-tools@latest`"
);
}
context.functionsSourceV2 = await prepareFunctionsUpload(sourceDir, context.config);
Expand Down

0 comments on commit d3e1c02

Please sign in to comment.