Update the update-lastmod.js file to use date from file

Review Request #640 — Created May 4, 2021 and submitted — Latest diff uploaded

Information

pidgin/nest
default
86d70d85b922

Reviewers

The update-lastmod file was taking the first commit for the specific file and replacing the "date" attribute with the date of the commit. This fix sets the date as the attribute date if it exists and if it doesn't uses the first commit date.

  1. Build docker container
  2. Run docker container
  3. Run the update-lastmod.js script with node and verified that the files with dates stayed the same and ones without used the first commit.
    Loading...