Skip to content

Commit

Permalink
spelling error
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Sep 26, 2024
1 parent f71f5cb commit f0d4d63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/aggregate-versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const versionsAreEqual = (prev, next) => {
}
return true;
};
const latstCommitDate = async (branch) => {
const latestCommitDate = async (branch) => {
try {
console.log("Getting latest commit for ", branch);
const response = await fetch(`https://api.github.com/repos/TheCacophonyProject/saltops/commits?sha=${branch}&per_page=1`);
Expand All @@ -94,7 +94,7 @@ const latstCommitDate = async (branch) => {
// For each branch:
versionData[branch] = {};
process.chdir(`./${branch}`);
const commitDate = await latstCommitDate(branch)
const commitDate = await latestCommitDate(branch)
console.log("got commit date",commitDate);
for (const model of models) {
// For each camera model:
Expand Down

0 comments on commit f0d4d63

Please sign in to comment.