Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Feb 4, 2025
1 parent d3aa593 commit cc1357f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ async function tryAll<T>(
const params = Abi.decode(name, outputs, result.returnData);
const data = outputs.length === 1 ? params[0] : params;
callResult.push(data);
// eslint-disable-next-line no-unused-vars
} catch (e) {

Check failure on line 127 in src/call.ts

View workflow job for this annotation

GitHub Actions / Run (20.x)

'e' is defined but never used

Check failure on line 127 in src/call.ts

View workflow job for this annotation

GitHub Actions / Run (22.x)

'e' is defined but never used
// Failed to decode the data: most likely calling non-existing contract
callResult.push(null);
Expand Down Expand Up @@ -173,6 +174,7 @@ async function tryEach<T>(
const params = Abi.decode(name, outputs, result.returnData);
const data = outputs.length === 1 ? params[0] : params;
callResult.push(data);
// eslint-disable-next-line no-unused-vars
} catch (e) {

Check failure on line 178 in src/call.ts

View workflow job for this annotation

GitHub Actions / Run (20.x)

'e' is defined but never used

Check failure on line 178 in src/call.ts

View workflow job for this annotation

GitHub Actions / Run (22.x)

'e' is defined but never used
// Failed to decode the data: most likely calling non-existing contract
callResult.push(null);
Expand Down

0 comments on commit cc1357f

Please sign in to comment.