mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 19:38:20 +08:00 
			
		
		
		
	updated other version-specific logic
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user