Skip to content

Commit

Permalink
Update project-automation.js
Browse files Browse the repository at this point in the history
Apparently the way to require the date functions has changed. This change was suggested by Toni.
  • Loading branch information
mvarela authored Mar 11, 2024
1 parent 09153e3 commit 341cb6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/project-automation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const github = require('@actions/github');
const subDays = require('date-fns/subDays');
//const subDays = require('date-fns/subDays');
const { subDays } = require("date-fns");

// read from secrets
const GITHUB_TOKEN = process.env.GH_PROJECT_TOKEN;
Expand Down

0 comments on commit 341cb6d

Please sign in to comment.