mirror of
https://github.com/actions/checkout.git
synced 2025-05-24 10:15:09 +02:00
Fix linting and formatting issues
This commit is contained in:
parent
dc3f9aa6d6
commit
287da9b78e
3 changed files with 20 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue