Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
feat: log network activity by default
  • Loading branch information
aduh95 committed Jan 23, 2024
commit 8396aed10c5ff3cd9472de61cc640658df77f607
2 changes: 2 additions & 0 deletions sources/httpUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ export async function fetchUrlStream(url: string, options: RequestOptions = {})

const proxyAgent = new ProxyAgent();

console.log(`Corepack: Fetching ${url}...`);

return new Promise<IncomingMessage>((resolve, reject) => {
const createRequest = (url: string) => {
const request: ClientRequest = https.get(url, {...options, agent: proxyAgent}, response => {
Expand Down