From ea906d8c0bffba815991563f9ea79be1c8f929dd Mon Sep 17 00:00:00 2001 From: "devid.farinelli@gmail.com" Date: Mon, 11 Mar 2019 17:38:48 +0100 Subject: [PATCH] feat(opencollective prompt): lint --- bin/opencollective.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/opencollective.js b/bin/opencollective.js index cb9f08f80d7..e619ba330f1 100644 --- a/bin/opencollective.js +++ b/bin/opencollective.js @@ -35,7 +35,7 @@ function printBadge() { const now = new Date(); -if (now.getDay() == 1 ) { +if (now.getDay() === 1) { const lastPrintFile = path.resolve(__dirname, "../.lastocprint"); fs.readFile(lastPrintFile, "utf8", (err, lastPrint = 0) => { if (err && err.code !== "ENOENT") return; @@ -44,4 +44,4 @@ if (now.getDay() == 1 ) { fs.writeFileSync(lastPrintFile, now); } }); -} \ No newline at end of file +}