Skip to content

Commit be60c83

Browse files
committed
Fix lint
1 parent 9f0bdd9 commit be60c83

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/cli/src/command-helpers/contracts.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

packages/cli/src/command-helpers/contracts.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)