File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import File from './file.js';
44import Blob from './index.js' ;
55import { MessageChannel } from 'worker_threads' ;
66
7- const { stat} = fs
7+ const { stat} = fs ;
88
99const DOMException = globalThis . DOMException || ( ( ) => {
1010 const port = new MessageChannel ( ) . port1
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ async function * toIterator (parts, clone = true) {
5656 yield part ;
5757 }
5858 } else {
59+ /* c8 ignore start */
5960 // For blobs that have arrayBuffer but no stream method (nodes buffer.Blob)
6061 let position = 0 ;
6162 while ( position !== part . size ) {
@@ -64,6 +65,7 @@ async function * toIterator (parts, clone = true) {
6465 position += buffer . byteLength ;
6566 yield new Uint8Array ( buffer ) ;
6667 }
68+ /* c8 ignore end */
6769 }
6870 }
6971}
You can’t perform that action at this time.
0 commit comments