File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
packages/cli/src/command-helpers Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ const TEST_SOURCIFY_CONTRACT_INFO = {
117117 name : null ,
118118 startBlock : null ,
119119 } ,
120- }
120+ } ,
121121} ;
122122
123123// Retry helper with configurable number of retries
Original file line number Diff line number Diff line change @@ -174,14 +174,15 @@ export class ContractService {
174174 compilation : { name : string } ;
175175 deployment : { blockNumber : string } ;
176176 }
177- | { customCode : string ; message : string ; errorId : string ; } = await (
177+ | { customCode : string ; message : string ; errorId : string } = await (
178178 await fetch ( url ) . catch ( error => {
179179 throw new Error ( `Sourcify API is unreachable: ${ error } ` ) ;
180180 } )
181181 ) . json ( ) ;
182182
183183 if ( json ) {
184- if ( 'errorId' in json ) throw new Error ( `Sourcify API error: [${ json . customCode } ] ${ json . message } ` ) ;
184+ if ( 'errorId' in json )
185+ throw new Error ( `Sourcify API error: [${ json . customCode } ] ${ json . message } ` ) ;
185186
186187 const abi = json . abi ;
187188 const contractName = json . compilation . name ;
You can’t perform that action at this time.
0 commit comments