Skip to content

Commit a17c5cf

Browse files
committed
Rebuild
1 parent 548a2c9 commit a17c5cf

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
5555
}
5656
try {
5757
const command = core.getInput('command');
58-
const apply_domain_aliases = core.getInput('apply_domain_aliases') == 'true';
58+
const applyDomainAliases = core.getInput('applyDomainAliases') == 'true';
5959
const failIfAliasNotLinked = core.getInput('failIfAliasNotLinked') == 'true';
6060
core.debug(`Received command: ${command}`); // debug is only output if you set the secret `ACTIONS_RUNNER_DEBUG` to true https://github.com/actions/toolkit/blob/master/docs/action-debugging.md#how-to-access-step-debug-logs
61-
core.debug(`Should we deploy aliases ? "${apply_domain_aliases}"`);
62-
yield vercel_1.default(command, apply_domain_aliases, failIfAliasNotLinked);
61+
core.debug(`Should we deploy aliases ? "${applyDomainAliases}"`);
62+
yield vercel_1.default(command, applyDomainAliases, failIfAliasNotLinked);
6363
}
6464
catch (error) {
6565
core.setFailed(error.message);

lib/vercel.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ const create_aliases = (deploymentUrl, customDeploymentFile, failIfAliasNotLinke
121121
const deploy = (command, deployAlias, failIfAliasNotLinked) => __awaiter(void 0, void 0, void 0, function* () {
122122
var _a, _b, _c;
123123
/**
124-
* Execute the command provided and store it into a variable
125-
* exec_command also displays the output
124+
* Executes the command provided and stores it into a variable, so we can parse the output and extract metadata from it.
125+
*
126+
* Running "exec_command" displays the output in the console.
126127
*/
127128
const stdout = yield exec_command(command);
128129
/**

0 commit comments

Comments
 (0)