Skip to content

Commit 5514ac1

Browse files
committed
fix: import
1 parent 3522244 commit 5514ac1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/scripts/libmongocrypt.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import child_process from 'node:child_process';
55
import events from 'node:events';
66
import path from 'node:path';
77
import https from 'node:https';
8-
import { pipeline } from 'node:stream/promises';
8+
import stream from 'node:stream/promises';
99

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

171171
const start = performance.now();
172-
await pipeline(response, unzip.stdin);
172+
await stream.pipeline(response, unzip.stdin);
173173
const end = performance.now();
174174

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

0 commit comments

Comments
 (0)