mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-12-06 03:50:39 +00:00
format
This commit is contained in:
parent
71f4b77450
commit
1312196d89
1 changed files with 3 additions and 1 deletions
|
|
@ -367,7 +367,9 @@ class GitAuthHelper {
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
// Host git directory
|
// Host git directory
|
||||||
let gitDir = fs.realpathSync(path.join(this.git.getWorkingDirectory(), '.git'))
|
let gitDir = fs.realpathSync(
|
||||||
|
path.join(this.git.getWorkingDirectory(), '.git')
|
||||||
|
)
|
||||||
gitDir = gitDir.replace(/\\/g, '/') // Use forward slashes, even on Windows
|
gitDir = gitDir.replace(/\\/g, '/') // Use forward slashes, even on Windows
|
||||||
|
|
||||||
// Configure host includeIf
|
// Configure host includeIf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue