Skip to content

fix: divide by zero issue (#84) #215

fix: divide by zero issue (#84)

fix: divide by zero issue (#84) #215

Triggered via push November 9, 2023 06:58
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Lint: src/handlers/pangolin.ts#L52
Replace `⏎····QUERIES._FACTORY(entityName),⏎····chainInfo.subgraph_exchange,⏎··` with `QUERIES._FACTORY(entityName),·chainInfo.subgraph_exchange`
Lint: src/handlers/pangolin.ts#L328
Replace `.mul(365).div(pairDayDatas.length·||·1).mul(3)` with `⏎······.mul(365)⏎······.div(pairDayDatas.length·||·1)⏎······.mul(3)⏎······`
Lint: src/handlers/pangolin.ts#L328
Use `.length > 0` when checking length is not zero.
Lint: src/handlers/pangolin.ts#L329
Use `.length > 0` when checking length is not zero.
Lint: src/handlers/png.ts#L15
Replace `⏎····QUERIES._FACTORY(entityName),⏎····chainInfo.subgraph_exchange,⏎··` with `QUERIES._FACTORY(entityName),·chainInfo.subgraph_exchange`
Lint: src/handlers/png.ts#L32
Replace `⏎····QUERIES._FACTORY(entityName),⏎····chainInfo.subgraph_exchange,⏎··` with `QUERIES._FACTORY(entityName),·chainInfo.subgraph_exchange`
Lint
Process completed with exit code 1.
Test
Process completed with exit code 1.
Lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/