Skip to content

Commit

Permalink
Merge pull request #2563 from Expensify/andrew-fix-version2
Browse files Browse the repository at this point in the history
[No QA]Remove use of JSON.parse() to fix bug with version
  • Loading branch information
sketchydroide authored Apr 26, 2021
2 parents 103ab13 + 3b7f832 commit 96b897c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/markPullRequestsAsDeployed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const prList = JSON.parse(core.getInput('PR_LIST', {required: true}));
const isProd = JSON.parse(
core.getInput('IS_PRODUCTION_DEPLOY', {required: true}),
);
const version = JSON.parse(core.getInput('DEPLOY_VERSION', {required: true}));
const version = core.getInput('DEPLOY_VERSION', {required: true});
const token = core.getInput('GITHUB_TOKEN', {required: true});
const octokit = github.getOctokit(token);
const githubUtils = new GithubUtils(octokit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const prList = JSON.parse(core.getInput('PR_LIST', {required: true}));
const isProd = JSON.parse(
core.getInput('IS_PRODUCTION_DEPLOY', {required: true}),
);
const version = JSON.parse(core.getInput('DEPLOY_VERSION', {required: true}));
const version = core.getInput('DEPLOY_VERSION', {required: true});
const token = core.getInput('GITHUB_TOKEN', {required: true});
const octokit = github.getOctokit(token);
const githubUtils = new GithubUtils(octokit);
Expand Down

0 comments on commit 96b897c

Please sign in to comment.