Unverified Commit 88f5454f authored by Massimiliano Pippi's avatar Massimiliano Pippi Committed by GitHub

use the right variable (#417)

parent ad695008
......@@ -32,7 +32,7 @@ jobs:
let now = new Date().getTime();
for (const issue of issues) {
// If an issue was active in the past 15 days, leave it alone.
if (now - new Date(issue.updated_at).getTime() < elapsedDays) {
if (now - new Date(issue.updated_at).getTime() < elapsed) {
continue;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment