Skip to content

Commit

Permalink
log after and inside conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-singh-filestack committed Feb 2, 2024
1 parent 18d104e commit 25691f0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,10 @@ export const getMimetype = async(file: Uint8Array | Buffer, name?: string): Prom
}
// if we cant find types by extensions and we have magic bytes fallback to it
if (type) {
console.log('in the cond: ',type.mime)
return type.mime;
}
console.log('after the cond: ',type)

try {
if (isutf8(file)) {
Expand Down

0 comments on commit 25691f0

Please sign in to comment.