Skip to content

Commit

Permalink
Merge pull request #50 from actions/fix-enablement
Browse files Browse the repository at this point in the history
Fix `enablement` logic in v3
  • Loading branch information
JamesMGreene authored Jan 30, 2023
2 parents 5992ce8 + 12fd9a0 commit 3c444c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15712,7 +15712,7 @@ function getRequiredVars() {
githubToken: core.getInput('token'),
staticSiteGenerator: core.getInput('static_site_generator'),
generatorConfigFile: core.getInput('generator_config_file'),
enablement: core.getInput('enablement') !== 'true'
enablement: core.getInput('enablement') === 'true'
}
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function getRequiredVars() {
githubToken: core.getInput('token'),
staticSiteGenerator: core.getInput('static_site_generator'),
generatorConfigFile: core.getInput('generator_config_file'),
enablement: core.getInput('enablement') !== 'true'
enablement: core.getInput('enablement') === 'true'
}
}

Expand Down

0 comments on commit 3c444c0

Please sign in to comment.