File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11- Fixed an issue where ` --force ` was not respected during ` firebase deploy --only storage ` . (#7499 )
22- Added support for Customer-managed encryption keys (CMEK) on Firestore databases. (#7479 )
3+ - Improved error message thrown when missing permissions to deploy to hosting. (#7190 )
34- Improved default values for 'init dataconnect: sdk '.
4- - Fix functions:secrets: set - stop erroring in non-interactive flows without force option (#7467 )
5+ - Fixed issue where ` functions:secrets:set ` wrongly errorred in non-interactive flows without force option (#7467 )
Original file line number Diff line number Diff line change @@ -113,7 +113,13 @@ export const command = new Command("deploy")
113113 try {
114114 await requireHostingSite ( options ) ;
115115 } catch ( err : unknown ) {
116- if ( err === errNoDefaultSite ) {
116+ const isPermissionError =
117+ err instanceof FirebaseError &&
118+ err . original instanceof FirebaseError &&
119+ err . original . status === 403 ;
120+ if ( isPermissionError ) {
121+ throw err ;
122+ } else if ( err === errNoDefaultSite ) {
117123 createSite = true ;
118124 }
119125 }
You can’t perform that action at this time.
0 commit comments