Skip to content

Commit d5567f5

Browse files
committed
Merge remote-tracking branch 'configurator/number-hashes' into HEAD
2 parents 399fe0f + e12112a commit d5567f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Documents/Queries/HashCalculator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class HashCalculator {
3333
this._buffers.push(typeSignatures[typeof o] || typeSignatures.undefined);
3434

3535
if (typeof o === "number") {
36-
this._buffers.push(Buffer.from([o]));
36+
this._buffers.push(Buffer.from(String(o)));
3737
} else if (typeof o === "string") {
3838
this._buffers.push(Buffer.from(o));
3939
} else if (typeof o === "boolean") {

0 commit comments

Comments
 (0)