Skip to content

Commit 5b5f3d8

Browse files
committed
style: fix lint
1 parent 762d063 commit 5b5f3d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/schema/uuid.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ function SchemaUUID(key, options) {
8080
if (Buffer.isBuffer(value)) {
8181
return binaryToString(value);
8282
} else if (value instanceof Binary) {
83-
if (value instanceof Binary) {
84-
return binaryToString(value.buffer);
85-
}
83+
if (value instanceof Binary) {
84+
return binaryToString(value.buffer);
85+
}
8686
} else if (utils.isPOJO(value) && value.type === 'Buffer' && Array.isArray(value.data)) {
8787
// Cloned buffers look like `{ type: 'Buffer', data: [5, 224, ...] }`
8888
return binaryToString(Buffer.from(value.data));

0 commit comments

Comments
 (0)