We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent badc32d commit 790d27aCopy full SHA for 790d27a
1 file changed
bin/opencollective.js
@@ -34,7 +34,8 @@ function printBadge() {
34
35
36
const now = new Date();
37
-if (now.getDay() === 1) {
+const MONDAY = 1;
38
+if (now.getDay() === MONDAY) {
39
const lastPrintFile = path.resolve(__dirname, "../.lastocprint");
40
fs.readFile(lastPrintFile, "utf8", (err, lastPrint = 0) => {
41
if (err && err.code !== "ENOENT") return;
0 commit comments