File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
- Added the ability to deploy Angular apps using [ the new application-builder] ( https://angular.dev/tools/cli/esbuild ) . (#6480 )
2
+ - Fixed an issue where ` --non-interactive ` flag is not respected in Firestore indexes deploys. (#6539 )
2
3
- Fixed an issue where ` login:use ` would not work outside of a Firebase project directory. (#6526 )
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import * as types from "./api-types";
8
8
import * as Spec from "./api-spec" ;
9
9
import * as sort from "./api-sort" ;
10
10
import * as util from "./util" ;
11
- import { promptOnce } from "../prompt" ;
11
+ import { confirm } from "../prompt" ;
12
12
import { firestoreOrigin } from "../api" ;
13
13
import { FirebaseError } from "../error" ;
14
14
import { Client } from "../apiv2" ;
@@ -89,9 +89,9 @@ export class FirestoreApi {
89
89
}
90
90
91
91
if ( ! shouldDeleteIndexes ) {
92
- shouldDeleteIndexes = await promptOnce ( {
93
- type : "confirm" ,
94
- name : "confirm" ,
92
+ shouldDeleteIndexes = await confirm ( {
93
+ nonInteractive : options . nonInteractive ,
94
+ force : options . force ,
95
95
default : false ,
96
96
message :
97
97
"Would you like to delete these indexes? Selecting no will continue the rest of the deployment." ,
@@ -135,9 +135,9 @@ export class FirestoreApi {
135
135
}
136
136
137
137
if ( ! shouldDeleteFields ) {
138
- shouldDeleteFields = await promptOnce ( {
139
- type : "confirm" ,
140
- name : "confirm" ,
138
+ shouldDeleteFields = await confirm ( {
139
+ nonInteractive : options . nonInteractive ,
140
+ force : options . force ,
141
141
default : false ,
142
142
message :
143
143
"Would you like to delete these field overrides? Selecting no will continue the rest of the deployment." ,
You can’t perform that action at this time.
0 commit comments