mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-01 08:26:35 +00:00
fix: render binary values as hex (#465)
This commit is contained in:
@@ -14,7 +14,10 @@ export const BINARY_TYPES = new Set([
|
||||
]);
|
||||
|
||||
export function isBinaryType(dataType: string): boolean {
|
||||
const lower = dataType.toLowerCase();
|
||||
const lower = dataType
|
||||
.toLowerCase()
|
||||
.replace(/\s*\([^)]*\)\s*$/, "")
|
||||
.trim();
|
||||
return BINARY_TYPES.has(lower);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user