Skip to content

Commit abbd288

Browse files
anonrigvicb
andauthored
Update binary.ts
Co-authored-by: Victor Berchet <[email protected]>
1 parent 8dd3dd1 commit abbd288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/open-next/src/utils/binary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const commonBinaryMimeTypes = new Set([
6060
]);
6161

6262
export function isBinaryContentType(contentType?: string | null) {
63-
if (contentType == null) return false;
63+
if (!contentType) return false;
6464

6565
const value = contentType.split(";").at(0);
6666
if (value == null) return false;

0 commit comments

Comments
 (0)