We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 399fe0f + e12112a commit d5567f5Copy full SHA for d5567f5
src/Documents/Queries/HashCalculator.ts
@@ -33,7 +33,7 @@ export class HashCalculator {
33
this._buffers.push(typeSignatures[typeof o] || typeSignatures.undefined);
34
35
if (typeof o === "number") {
36
- this._buffers.push(Buffer.from([o]));
+ this._buffers.push(Buffer.from(String(o)));
37
} else if (typeof o === "string") {
38
this._buffers.push(Buffer.from(o));
39
} else if (typeof o === "boolean") {
0 commit comments