mirror of
				https://github.com/actions/checkout.git
				synced 2025-11-04 14:48:39 +08:00 
			
		
		
		
	Check in current index.js after build
This commit is contained in:
		
							parent
							
								
									9355fc0a70
								
							
						
					
					
						commit
						8f0470a08c
					
				
							
								
								
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -1554,9 +1554,6 @@ function downloadArchive(authToken, owner, repo, ref, commit, baseUrl) {
 | 
				
			||||||
            repo: repo,
 | 
					            repo: repo,
 | 
				
			||||||
            ref: commit || ref
 | 
					            ref: commit || ref
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        if (response.status != 302) {
 | 
					 | 
				
			||||||
            throw new Error(`Unexpected response from GitHub API. Status: ${response.status}, Data: ${response.data}`);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
        return Buffer.from(response.data); // response.data is ArrayBuffer
 | 
					        return Buffer.from(response.data); // response.data is ArrayBuffer
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user