fix(git): disable color.ui in git storage (#6014)

This commit is contained in:
Eric Knibbe 2023-01-13 17:54:15 -05:00 committed by GitHub
parent 54dbf9ad00
commit 41454cfd30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,9 +45,10 @@ module.exports = {
await this.git.init()
}
// Disable quotePath
// Disable quotePath, color output
// Link https://git-scm.com/docs/git-config#Documentation/git-config.txt-corequotePath
await this.git.raw(['config', '--local', 'core.quotepath', false])
await this.git.raw(['config', '--local', 'color.ui', false])
// Set default author
await this.git.raw(['config', '--local', 'user.email', this.config.defaultEmail])