Skip to content

Commit abcd27a

Browse files
committed
chore: restrict commit hash strings to 8 chars
resolves #19488
1 parent 4f61e36 commit abcd27a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/bump-edge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { loadWorkspace } from './_utils'
88
async function main () {
99
const workspace = await loadWorkspace(process.cwd())
1010

11-
const commit = execSync('git rev-parse --short HEAD').toString('utf-8').trim()
11+
const commit = execSync('git rev-parse --short HEAD').toString('utf-8').trim().slice(0, 8)
1212
const date = Math.round(Date.now() / (1000 * 60))
1313

1414
const nuxtPkg = workspace.find('nuxt')

0 commit comments

Comments
 (0)