Skip to content

Commit

Permalink
feat: add utm source search param when downloading the binary
Browse files Browse the repository at this point in the history
  • Loading branch information
sandor-trombitas committed Jul 19, 2024
1 parent 639fcd1 commit dd38b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts-binary-wrapper/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export function downloadExecutable(
filenameShasum: string,
): Promise<Error | undefined> {
return new Promise<Error | undefined>(function(resolve) {
const options = new URL(downloadUrl);
const options = new URL(downloadUrl + '?utm_source=npm');
const temp = path.join(__dirname, Date.now().toString());
const fileStream = fs.createWriteStream(temp);
const shasum = createHash('sha256').setEncoding('hex');
Expand Down

0 comments on commit dd38b15

Please sign in to comment.