From 189657085b3074589d7ac61d8edbcd5ae1950148 Mon Sep 17 00:00:00 2001 From: Damiencastro <75629680+Damiencastro@users.noreply.github.com> Date: Fri, 27 Sep 2024 12:07:14 -0400 Subject: [PATCH] Update builder.ts - Fix typo --- src/schematics/deploy/builder.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/schematics/deploy/builder.ts b/src/schematics/deploy/builder.ts index e36d6c43e..6708de951 100644 --- a/src/schematics/deploy/builder.ts +++ b/src/schematics/deploy/builder.ts @@ -12,7 +12,7 @@ export default createBuilder( throw new Error('Cannot deploy the application without a target'); } - const [defaultFirebaseProject, defulatFirebaseHostingSite] = getFirebaseProjectNameFromFs( + const [defaultFirebaseProject, defaultFirebaseHostingSite] = getFirebaseProjectNameFromFs( context.workspaceRoot, context.target.project ); @@ -25,11 +25,11 @@ export default createBuilder( throw new Error('The Firebase Project specified by your angular.json or .firebaserc is in conflict'); } - const firebaseHostingSite = options.firebaseHostingSite || defulatFirebaseHostingSite; + const firebaseHostingSite = options.firebaseHostingSite || defaultFirebaseHostingSite; if (!firebaseHostingSite) { throw new Error(`Cannot determine the Firebase Hosting Site from your angular.json or .firebaserc`); } - if (firebaseHostingSite !== defulatFirebaseHostingSite) { + if (firebaseHostingSite !== defaultFirebaseHostingSite) { throw new Error('The Firebase Hosting Site specified by your angular.json or .firebaserc is in conflict'); }