mirror of
https://code.forgejo.org/actions/checkout.git
synced 2025-04-24 05:19:53 +02:00
updated other version-specific logic
This commit is contained in:
parent
06abf5564e
commit
64dbc8124d
4 changed files with 6 additions and 21 deletions
|
@ -24,7 +24,7 @@ describe('git-auth-helper tests', () => {
|
|||
console.log(args, options.listeners.stdout)
|
||||
|
||||
if (args.includes('version')) {
|
||||
options.listeners.stdout(Buffer.from('2.18'))
|
||||
options.listeners.stdout(Buffer.from('2.25'))
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,7 @@ describe('git-auth-helper tests', () => {
|
|||
console.log(args, options.listeners.stdout)
|
||||
|
||||
if (args.includes('version')) {
|
||||
options.listeners.stdout(Buffer.from('2.18'))
|
||||
options.listeners.stdout(Buffer.from('2.25'))
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ describe('Test fetchDepth and fetchTags options', () => {
|
|||
console.log(args, options.listeners.stdout)
|
||||
|
||||
if (args.includes('version')) {
|
||||
options.listeners.stdout(Buffer.from('2.18'))
|
||||
options.listeners.stdout(Buffer.from('2.25'))
|
||||
}
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue