diff --git a/package.json b/package.json index b0b3ec4e46..56e1877645 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "npm": "^6" }, "scripts": { - "lint": "eslint --ext .js --fix ./website/common", + "lint": "eslint --ext .js --fix ./website/server", "test": "npm run lint && gulp test && gulp apidoc", "test:build": "gulp test:prepare:build", "test:api-v3": "gulp test:api-v3", diff --git a/website/server/libs/cron.js b/website/server/libs/cron.js index 36cc759d1c..b0882b9ab7 100644 --- a/website/server/libs/cron.js +++ b/website/server/libs/cron.js @@ -45,7 +45,6 @@ export async function recoverCron (status, locals) { } } else { locals.user = reloadedUser; - return null; } }