File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
packages/wrangler/src/cloudchamber Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ export async function promiseSpinner<T>(
179179
180180export async function fillOpenAPIConfiguration (
181181 config : Config ,
182- json : boolean ,
182+ _json : boolean ,
183183 scope : typeof containersScope | typeof cloudchamberScope
184184) {
185185 const headers : Record < string , string > =
@@ -201,16 +201,6 @@ export async function fillOpenAPIConfiguration(
201201 }
202202
203203 OpenAPI . HEADERS = headers ;
204- const [ , err ] = await wrap ( loadAccountSpinner ( { json } ) ) ;
205-
206- if ( err ) {
207- let message = err . message ;
208- if ( json && err instanceof ApiError ) {
209- message = JSON . stringify ( err ) ;
210- }
211-
212- throw new UserError ( "Loading account failed: " + message ) ;
213- }
214204}
215205
216206export function interactWithUser ( config : { json ?: boolean } ) : boolean {
You can’t perform that action at this time.
0 commit comments