mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Linting improvements
This commit is contained in:
parent
97cb8d3af7
commit
d450bdd8e6
3 changed files with 9 additions and 1 deletions
2
packages/queue-manager/.eslintignore
Normal file
2
packages/queue-manager/.eslintignore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
build/
|
||||
6
packages/queue-manager/.eslintrc
Normal file
6
packages/queue-manager/.eslintrc
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "../../.eslintrc",
|
||||
"parserOptions": {
|
||||
"project": "tsconfig.json"
|
||||
}
|
||||
}
|
||||
|
|
@ -189,7 +189,7 @@ export const queueManager = Sentry.GCPFunction.wrapHttpFunction(
|
|||
async (req, res) => {
|
||||
try {
|
||||
if (req.query['check']) {
|
||||
checkMetricsAndPauseQueues()
|
||||
await checkMetricsAndPauseQueues()
|
||||
}
|
||||
res.send('ok')
|
||||
} catch (e) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue