Skip to content

Commit

Permalink
chore: restrict commit hash strings to 8 chars
Browse files Browse the repository at this point in the history
resolves #19488
  • Loading branch information
danielroe committed Mar 6, 2023
1 parent 4f61e36 commit abcd27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-edge.ts
Expand Up @@ -8,7 +8,7 @@ import { loadWorkspace } from './_utils'
async function main () {
const workspace = await loadWorkspace(process.cwd())

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

const nuxtPkg = workspace.find('nuxt')
Expand Down

0 comments on commit abcd27a

Please sign in to comment.