Fix typo in prerelease.mjs (#299)

lenght -> length
This commit is contained in:
Ikko Ashimine 2022-09-18 02:41:18 +09:00 committed by GitHub
parent 629cbd9653
commit 4d55ffe087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ async function writeVersionsToPackageJSONs(
// through the `GITHUB_SHA` environmental variable.
// The length of the abbreviated commit hash can change, that's why we
// need the lenght of the fake merge commit's abbreviated hash.
// need the length of the fake merge commit's abbreviated hash.
const fakeMergeCommitHashLength = (await $`git log -1 --pretty=format:%h`)
.stdout.length