Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
nbbeeken committed May 22, 2024
1 parent 8f8cd61 commit 46b3109
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/scripts/libmongocrypt.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import child_process from 'node:child_process';
import events from 'node:events';
import path from 'node:path';
import https from 'node:https';
import { pipeline } from 'node:stream/promises';
import stream from 'node:stream/promises';

async function parseArguments() {
const jsonImport = {
Expand Down Expand Up @@ -169,7 +169,7 @@ if (!args.build) {
const [response] = await events.once(https.get(downloadURL), 'response');

const start = performance.now();
await pipeline(response, unzip.stdin);
await stream.pipeline(response, unzip.stdin);
const end = performance.now();

console.error(`downloaded libmongocrypt in ${(end - start) / 1000} secs...`);
Expand Down

0 comments on commit 46b3109

Please sign in to comment.