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 committed 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
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
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.