Fix linting and formatting issues

This commit is contained in:
Milad Irannejad 2023-03-01 17:50:51 -05:00
parent dc3f9aa6d6
commit 287da9b78e
No known key found for this signature in database
GPG key ID: 83D922682700B3AC
3 changed files with 20 additions and 7 deletions

View file

@ -136,7 +136,12 @@ class GitAuthHelper {
await this.git.tryConfigUnset(this.insteadOfKey, ConfigScope.System)
if (!this.settings.sshKey) {
for (const insteadOfValue of this.insteadOfValues) {
await this.git.config(this.insteadOfKey, insteadOfValue, ConfigScope.System, true)
await this.git.config(
this.insteadOfKey,
insteadOfValue,
ConfigScope.System,
true
)
}
}
} catch (err) {
@ -294,7 +299,7 @@ class GitAuthHelper {
await this.git.config(
this.tokenConfigKey,
this.tokenPlaceholderConfigValue,
configScope,
configScope
)
// Replace the placeholder