Skip to content

Commit

Permalink
feat(opencollective prompt): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
misterdev committed Mar 11, 2019
1 parent f080733 commit ea906d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/opencollective.js
Expand Up @@ -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;
Expand All @@ -44,4 +44,4 @@ if (now.getDay() == 1 ) {
fs.writeFileSync(lastPrintFile, now);
}
});
}
}

0 comments on commit ea906d8

Please sign in to comment.