mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-08-14 17:30:50 +00:00
linting
This commit is contained in:
parent
6503dcd44c
commit
630cdb3874
4 changed files with 36 additions and 22 deletions
|
@ -209,7 +209,7 @@ class GitCommandManager {
|
|||
options: string[] = []
|
||||
): Promise<void> {
|
||||
const args = ['checkout', '--progress']
|
||||
|
||||
|
||||
// Add custom options (like --merge) if provided
|
||||
if (options.length > 0) {
|
||||
args.push(...options)
|
||||
|
@ -217,7 +217,7 @@ class GitCommandManager {
|
|||
// Default behavior - use force
|
||||
args.push('--force')
|
||||
}
|
||||
|
||||
|
||||
if (startPoint) {
|
||||
args.push('-B', ref, startPoint)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue