mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 01:25:38 -05:00
Bump file-type (#20456)
This commit is contained in:
@@ -1031,7 +1031,7 @@ export class Repository {
|
||||
}
|
||||
|
||||
if (!isText) {
|
||||
const result = filetype(buffer);
|
||||
const result = await filetype.fromBuffer(buffer);
|
||||
|
||||
if (!result) {
|
||||
return { mimetype: 'application/octet-stream' };
|
||||
|
||||
Reference in New Issue
Block a user