1
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2025-12-06 12:00:38 +00:00

try using realpath

This commit is contained in:
Keith Bauson 2025-12-04 12:22:40 -05:00
parent 8e8c483db8
commit 71f4b77450
2 changed files with 2 additions and 2 deletions

View file

@ -367,7 +367,7 @@ class GitAuthHelper {
)
} else {
// Host git directory
let gitDir = 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
// Configure host includeIf