Skip to content

Commit

Permalink
fix: parameter syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
mdarvanaghi committed Dec 11, 2024
1 parent c4cc7ef commit 9ad3aac
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32871,10 +32871,10 @@ const main = async () => {
throw Error('Missing ageGroup input. Must be one of: TEENS_AND_ADULTS, MIXED_AGES, or CHILDREN.');
}
core.debug(`ageGroup: ${ageGroup}`);
args.push(`--age_group`, ageGroup);
args.push(`--age-group`, ageGroup);
const appId = core.getInput(`appId`, { required: true });
core.debug(`appId: ${appId}`);
args.push(`--app_id`, appId);
args.push(`--app-id`, appId);
const appSecret = core.getInput(`appSecret`);
if (!appSecret) {
const token = core.getInput(`token`);
Expand All @@ -32884,7 +32884,7 @@ const main = async () => {
args.push(`--token`, token);
}
else {
args.push(`--app_secret`, appSecret);
args.push(`--app-secret`, appSecret);
}
const buildDir = core.getInput(`buildDir`);
if (buildDir) {
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ const main = async () => {
throw Error('Missing ageGroup input. Must be one of: TEENS_AND_ADULTS, MIXED_AGES, or CHILDREN.');
}
core.debug(`ageGroup: ${ageGroup}`);
args.push(`--age_group`, ageGroup);
args.push(`--age-group`, ageGroup);
const appId = core.getInput(`appId`, { required: true });
core.debug(`appId: ${appId}`);
args.push(`--app_id`, appId);
args.push(`--app-id`, appId);
const appSecret = core.getInput(`appSecret`);
if (!appSecret) {
const token = core.getInput(`token`);
Expand All @@ -25,7 +25,7 @@ const main = async () => {
}
args.push(`--token`, token);
} else {
args.push(`--app_secret`, appSecret);
args.push(`--app-secret`, appSecret);
}
const buildDir = core.getInput(`buildDir`);
if (buildDir) {
Expand Down

0 comments on commit 9ad3aac

Please sign in to comment.