Skip to content

Commit

Permalink
bump terrapatch to v0.1.6. fix conditional comparsion
Browse files Browse the repository at this point in the history
  • Loading branch information
robmorgan committed Jul 2, 2024
1 parent 3e3d87e commit cbeb138
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13537,7 +13537,7 @@ const GRUNTWORK_GITHUB_ORG = "gruntwork-io";
const PATCHER_GITHUB_REPO = "patcher-cli";
const PATCHER_VERSION = "v0.9.0";
const TERRAPATCH_GITHUB_REPO = "terrapatch-cli";
const TERRAPATCH_VERSION = "v0.1.5";
const TERRAPATCH_VERSION = "v0.1.6";
const HCLEDIT_ORG = "minamijoyo";
const TFUPDATE_GITHUB_REPO = "tfupdate";
const TFUPDATE_VERSION = "v0.6.5";
Expand Down Expand Up @@ -13734,7 +13734,7 @@ async function runPatcher(gitCommiter, command, { specFile, includeDirs, exclude
}
default: {
core.startGroup("Validating `patcher update` args");
if (prBranch !== "") {
if (prBranch === "") {
core.setFailed("The pull request branch must be specified when running 'update'");
return;
}
Expand Down
4 changes: 2 additions & 2 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const GRUNTWORK_GITHUB_ORG = "gruntwork-io";
const PATCHER_GITHUB_REPO = "patcher-cli";
const PATCHER_VERSION = "v0.9.0";
const TERRAPATCH_GITHUB_REPO = "terrapatch-cli";
const TERRAPATCH_VERSION = "v0.1.5";
const TERRAPATCH_VERSION = "v0.1.6";

const HCLEDIT_ORG = "minamijoyo";
const TFUPDATE_GITHUB_REPO = "tfupdate";
Expand Down Expand Up @@ -337,7 +337,7 @@ async function runPatcher(
}
default: {
core.startGroup("Validating `patcher update` args");
if (prBranch !== "") {
if (prBranch === "") {
core.setFailed("The pull request branch must be specified when running 'update'");
return;
}
Expand Down

0 comments on commit cbeb138

Please sign in to comment.