File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -487,10 +487,9 @@ export async function checkIsProfileConfigured(): Promise<boolean> {
487487 ) ,
488488 ] ) ;
489489
490- const [ configNeedsOverride , credentialsNeedsOverride ] = await Promise . all ( [
491- checkIfConfigNeedsOverride ( configSection ) ,
492- checkIfCredentialsNeedsOverride ( credentialsSection ) ,
493- ] ) ;
490+ const configNeedsOverride = await checkIfConfigNeedsOverride ( configSection ) ;
491+ const credentialsNeedsOverride =
492+ checkIfCredentialsNeedsOverride ( credentialsSection ) ;
494493
495494 if ( configNeedsOverride || credentialsNeedsOverride ) {
496495 return false ;
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ async function fetchLatestCLIRelease(): Promise<ReleaseSchema> {
242242 if ( ! res . ok ) {
243243 throw new Error ( `Failed to fetch release: ${ res . status } ${ res . statusText } ` ) ;
244244 }
245- const data = await res . json ( ) ;
245+ const data : unknown = await res . json ( ) ;
246246 const parsed = ReleaseSchema . safeParse ( data ) ;
247247 if ( ! parsed . success ) {
248248 console . error ( z . treeifyError ( parsed . error ) ) ;
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ async function fetchLocalStackSessionId(): Promise<string> {
2424 try {
2525 const response = await fetch ( "http://127.0.0.1:4566/_localstack/info" ) ;
2626 if ( response . ok ) {
27- const json = await response . json ( ) ;
27+ const json : unknown = await response . json ( ) ;
2828 if ( typeof json === "object" && json !== null && "session_id" in json ) {
2929 return typeof json . session_id === "string" ? json . session_id : "" ;
3030 }
You can’t perform that action at this time.
0 commit comments