Skip to content

Commit

Permalink
chore: use unshift
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Mar 25, 2024
1 parent bd11206 commit 5687060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/updateMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function main() {
throw new Error('Missing required args')
}

metadata.versions.push({ sha, changeNotes })
metadata.versions.unshift({ sha, changeNotes })

fs.writeFileSync(metadataPath, yaml.stringify(metadata))
}
Expand Down

0 comments on commit 5687060

Please sign in to comment.