Skip to content

Commit

Permalink
Consistent name
Browse files Browse the repository at this point in the history
  • Loading branch information
JrMasterModelBuilder committed May 1, 2024
1 parent 64670b5 commit a8636d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bin/gen-harman-air-runtime.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import {download} from '../util/download.mjs';
async function main() {
const doc = [];
const resources = await runtimes();
for (const {name, file, sha256, source: url} of resources) {
for (const {name, file, sha256, source} of resources) {
console.log(`Name: ${name}`);
console.log(`URL: ${url}`);
console.log(`URL: ${source}`);

const filepath = `${name}/${file}`;

Expand All @@ -26,7 +26,7 @@ async function main() {
// eslint-disable-next-line no-await-in-loop
await download(
filepath,
url,
source,
{
'User-Agent': userAgent
},
Expand Down
6 changes: 3 additions & 3 deletions bin/gen-harman-air-sdk.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ async function main() {
const cookieHeader = cookies(listed.cookies);

const doc = [];
for (const {name, file, source: url} of listed.downloads) {
for (const {name, file, source} of listed.downloads) {
console.log(`Name: ${name}`);
console.log(`URL: ${url}`);
console.log(`URL: ${source}`);

const filepath = `${name}/${file}`;

Expand All @@ -28,7 +28,7 @@ async function main() {
// eslint-disable-next-line no-await-in-loop
await download(
filepath,
url,
source,
{
'User-Agent': userAgent,
Cookie: cookieHeader
Expand Down

0 comments on commit a8636d5

Please sign in to comment.