mirror of
https://github.com/actions/checkout.git
synced 2025-12-14 06:19:24 +00:00
Fix linting and formatting issues
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user