Skip to content

Commit

Permalink
fix: Undefined object opts
Browse files Browse the repository at this point in the history
  • Loading branch information
colinjfw committed Aug 31, 2019
1 parent 27023d5 commit ab3e5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function chartName(name) {
function getInput(name, options) {
const context = github.context;
const deployment = context.payload.deployment;
const val = core.getInput(name, { ...opts, required: false })
const val = core.getInput(name, { ...options, required: false })
if (deployment) {
if (deployment[name]) return deployment[name];
if (deployment.payload[name]) return deployment.payload[name];
Expand Down

0 comments on commit ab3e5f9

Please # to comment.