Skip to content

Commit

Permalink
adjust management of dates8
Browse files Browse the repository at this point in the history
  • Loading branch information
wkelly17 committed Nov 19, 2024
1 parent 0f82b7e commit b2d6078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actions/dates/dates.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ async function run() {
`Received ${allFilesInGit.length} all files and ${filesModifiedInCommit.length} modified files`
);

const metadataUpdated = Object.entries(allFilesInGitArr).reduce(
const metadataUpdated = Object.entries(metaParsed).reduce(
(acc, [key, value]) => {
if (!allFilesInGit.includes(key)) {
if (!allFilesInGitArr.includes(key)) {
// If this key is in the metadata but not our project any more, don't return it;
return acc;
}
Expand All @@ -29,7 +29,7 @@ async function run() {
return acc;
}
// file has not been updated
acc[key] = metaParsed[key];
acc[key] = value;
return acc;
},
{}
Expand Down

0 comments on commit b2d6078

Please sign in to comment.