diff --git a/dist/index.js b/dist/index.js index 8c04bdd..998c5cc 100644 --- a/dist/index.js +++ b/dist/index.js @@ -723,9 +723,9 @@ const create_branch_1 = __webpack_require__(515); function run() { return __awaiter(this, void 0, void 0, function* () { try { - const myInput = core.getInput('branch'); - yield create_branch_1.createBranch(github_1.GitHub, github_1.context, myInput); - core.debug(`Hello ${myInput}`); + const branch = core.getInput('branch'); + core.debug(`Creating branch ${branch}`); + yield create_branch_1.createBranch(github_1.GitHub, github_1.context, branch); } catch (error) { core.setFailed(error.message); diff --git a/src/main.ts b/src/main.ts index b7dcba5..3576db3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -4,9 +4,9 @@ import { createBranch } from './create-branch'; async function run() { try { - const myInput = core.getInput('branch'); - await createBranch(GitHub, context, myInput) - core.debug(`Hello ${myInput}`); + const branch = core.getInput('branch'); + core.debug(`Creating branch ${branch}`); + await createBranch(GitHub, context, branch) } catch (error) { core.setFailed(error.message); }