Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix
Browse files Browse the repository at this point in the history
StephenWeatherford committed Nov 27, 2024
1 parent 7904774 commit 3f96a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/httpGet.ts
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ export function httpGet(url: string): Promise<string> {
let responseContent: string = "";
let encoding: BufferEncoding | undefined;

response.on("data", (dataChunk: string | Buffer) => {
response.on("data", (dataChunk: Buffer) => {
const buffer: Buffer = dataChunk instanceof Buffer ? dataChunk : new Buffer(dataChunk);
let byteOrderMarkLength: number = 0;
if (!encoding) {

0 comments on commit 3f96a08

Please sign in to comment.