Fix XO issues.
This commit is contained in:
parent
537c8c0f3e
commit
9cd91dc788
|
@ -36,6 +36,11 @@
|
|||
},
|
||||
"xo": {
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"@typescript-eslint/consistent-type-definitions": "off",
|
||||
"@typescript-eslint/consistent-type-imports": "off",
|
||||
"n/file-extension-in-import": "off"
|
||||
},
|
||||
"space": true
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ function gitRevParse(): string {
|
|||
const revParse = childProcess.spawnSync(
|
||||
'git',
|
||||
['rev-parse', '--short', '--verify', 'main'],
|
||||
{encoding: 'utf-8'},
|
||||
{encoding: 'utf8'},
|
||||
);
|
||||
|
||||
if (revParse.error) {
|
||||
|
|
Loading…
Reference in New Issue