mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-03 23:59:27 +00:00 
			
		
		
		
	.
This commit is contained in:
		@@ -53,7 +53,7 @@ export async function downloadRepository(
 | 
			
		||||
      const response = await octokit.repos.getArchiveLink(params)
 | 
			
		||||
      console.log('GOT THE RESPONSE')
 | 
			
		||||
      console.log(response.status)
 | 
			
		||||
      if (response.status != 302) {
 | 
			
		||||
      if (response.status != 200) {
 | 
			
		||||
        throw new Error(
 | 
			
		||||
          `Unexpected response from GitHub API. Status: '${response.status}'`
 | 
			
		||||
        )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user