Skip to content

Commit

Permalink
Update commitHash to use short format
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Mar 22, 2024
1 parent 0e0f223 commit e0c9d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/mockTemplates.mts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async function constructGitHubUrl(): Promise<{
await exec('git branch --show-current')
).stdout.trim()

const commitHash = (await exec('git rev-parse HEAD')).stdout.trim()
const commitHash = (await exec('git rev-parse --short HEAD')).stdout.trim()

return {
remoteUrl,
Expand Down

0 comments on commit e0c9d76

Please sign in to comment.