Skip to content

Conversation

@mxschmitt
Copy link
Owner

@mxschmitt mxschmitt commented Feb 13, 2022

Fixes #108

@mxschmitt mxschmitt requested a review from dscho as a code owner February 13, 2022 15:05
for (const opt in options) {
const value = getValidatedInput(opt, options[opt]);
for (const [key, option] of Object.entries(options)) {
if (core.getInput(key) === '')
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if (core.getInput(key) === '')
if (core.getInput(key) === '')

note: it always returns a string, so we should be good with checking for an empty string.

@dscho dscho merged commit 8b4e4ac into master Feb 13, 2022
@dscho dscho deleted the fix-validation branch February 13, 2022 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: Invalid value for 'tmate-server-host': ''

3 participants