From 5aa371bf90cfd7111031d21f075e4069cf1f2c49 Mon Sep 17 00:00:00 2001 From: Matteo Pagliazzi Date: Thu, 10 Oct 2019 22:18:40 +0200 Subject: [PATCH] typo --- package.json | 2 +- website/server/libs/cron.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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; } }