File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/playwright-core/src/client Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ export async function convertInputFiles(files: string | FilePayload | string[] |
266266 if ( context . _connection . isRemote ( ) ) {
267267 const streams : channels . WritableStreamChannel [ ] = await Promise . all ( ( items as string [ ] ) . map ( async item => {
268268 const lastModifiedMs = ( await fs . promises . stat ( item ) ) . mtimeMs ;
269- const { writableStream : stream } = await context . _channel . createTempFile ( { name : path . basename ( item ) , lastModifiedMs } ) ;
269+ const { writableStream : stream } = await context . _wrapApiCall ( ( ) => context . _channel . createTempFile ( { name : path . basename ( item ) , lastModifiedMs } ) , true ) ;
270270 const writable = WritableStream . from ( stream ) ;
271271 await pipelineAsync ( fs . createReadStream ( item ) , writable . stream ( ) ) ;
272272 return stream ;
You can’t perform that action at this time.
0 commit comments