Skip to content

Commit e5e0b99

Browse files
committed
refactor: make import more specific
1 parent c4f9f07 commit e5e0b99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/CloudConvert.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import path from 'node:path';
1+
import { basename } from 'node:path';
22
import { Readable } from 'node:stream';
33
import { io, type Socket } from 'socket.io-client';
44
import { version } from '../package.json';
@@ -20,7 +20,7 @@ export type UploadFileSource =
2020

2121
function guessFilename(source: UploadFileSource): string | undefined {
2222
return 'path' in source && typeof source.path === 'string'
23-
? path.basename(source.path)
23+
? basename(source.path)
2424
: undefined;
2525
}
2626

0 commit comments

Comments
 (0)