biome format --write
This commit is contained in:
parent
8372348148
commit
9262e803ec
415 changed files with 54076 additions and 17419 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import childProcess from 'child_process'
|
||||
|
||||
export const getCommitHash = (() => {
|
||||
const subst = "$Format:%h$"
|
||||
if(!subst.match(/Format:/)) {
|
||||
export const getCommitHash = () => {
|
||||
const subst = '$Format:%h$'
|
||||
if (!subst.match(/Format:/)) {
|
||||
return subst
|
||||
} else {
|
||||
try {
|
||||
|
|
@ -15,4 +15,4 @@ export const getCommitHash = (() => {
|
|||
return 'UNKNOWN'
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue