Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle strings as such #100

Merged
merged 2 commits into from
Apr 7, 2022
Merged

Handle strings as such #100

merged 2 commits into from
Apr 7, 2022

Conversation

paulo-ferraz-oliveira
Copy link
Collaborator

@paulo-ferraz-oliveira paulo-ferraz-oliveira commented Apr 5, 2022

This hopefully fixes one of the issues found via #99 (mis-handling of booleans).

Note: this'll most likely break stuff in-the-wild, since the way the values were being read (getInput) meant we'd always mix rebar and hex. We can either go with this approach (and bump major) or consider the default should've been true, from the start, and change that.

@paulo-ferraz-oliveira
Copy link
Collaborator Author

The values from the YAML aren't really booleans, though they seem like it 😞

@starbelly
Copy link
Member

@paulo-ferraz-oliveira If I understand correctly, why not convert the strings to booleans on the way in so we don't have to do a major version?

@paulo-ferraz-oliveira
Copy link
Collaborator Author

We can do that, too, I guess. Let me try it later. (I can't remember, by heart, how it would behave before the change, but can revert it all and try again)

@paulo-ferraz-oliveira
Copy link
Collaborator Author

paulo-ferraz-oliveira commented Apr 7, 2022

@starbelly, I'm trying your approach...

.
.
.

passed!

I'm also removing the license update, since we have this automated now, and working as expected (eg. #95, #97).

On the other hand I'm not merging just yet since there's a "Bad credentials" issue I've never dealt with 😕 Oh, it's gone. Hopefully it was just a transient thing.

@starbelly
Copy link
Member

@paulo-ferraz-oliveira Awesome! :)

@paulo-ferraz-oliveira paulo-ferraz-oliveira merged commit 2e0500f into erlef:main Apr 7, 2022
@paulo-ferraz-oliveira paulo-ferraz-oliveira deleted the fix/booleans branch April 7, 2022 19:31
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.

None yet

2 participants