Skip to content

Commit d7fab4c

Browse files
committedFeb 24, 2020
Fix problems when on latest Node.js 12
1 parent 11b236d commit d7fab4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎index.js

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const cpFileAsync = async (source, destination, options, progressEmitter) => {
2626

2727
let shouldUpdateStats = false;
2828
try {
29-
await pEvent(writeStream, 'open');
3029
const writePromise = pEvent(writeStream, 'close');
3130
readStream.pipe(writeStream);
3231
await writePromise;

0 commit comments

Comments
 (0)
Please sign in to comment.