Skip to content

Commit

Permalink
chore: ci linter
Browse files Browse the repository at this point in the history
  • Loading branch information
nvtaveras committed Jul 25, 2024
1 parent 4861351 commit 66c80b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"prestart": "tsc",
"start": "NODE_ENV=development functions-framework --target=watchdogNotifier",
"test": "curl -H \"Content-Type: application/json\" -d @src/proposal-created.fixture.json localhost:8080",
"test:healthcheck": "curl -H \"Content-Type: application/json\" -d @src/health-check.fixture.json localhost:8080",
"test-in-prod": "./test-deployed-function.sh"
"test-in-prod": "./test-deployed-function.sh",
"test:healthcheck": "curl -H \"Content-Type: application/json\" -d @src/health-check.fixture.json localhost:8080"
},
"dependencies": {
"@google-cloud/functions-framework": "^3.4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const watchdogNotifier: HttpFunction = async (
break;
case "MedianUpdated":
// Acts a health check/heartbeat for the service, as it's a frequently emitted event
console.info("[HealthCheck]: Block " + parsedEvent.block);
console.info("[HealthCheck]: Block", parsedEvent.block);
break;
default:
console.warn("Unknown event type:", parsedEvent.event);
Expand Down
2 changes: 2 additions & 0 deletions src/parse-transaction-receipts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export default function parseTransactionReceipts(
txHash: log.transactionHash,
});
}
// eslint-disable-next-line no-empty
} catch {}

try {
Expand All @@ -85,6 +86,7 @@ export default function parseTransactionReceipts(
txHash: log.transactionHash,
});
}
// eslint-disable-next-line no-empty
} catch {}
}
}
Expand Down

0 comments on commit 66c80b8

Please sign in to comment.