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

Trim whitespace when converting string to int #874

Closed
lmorg opened this issue Sep 17, 2024 · 0 comments · Fixed by #849
Closed

Trim whitespace when converting string to int #874

lmorg opened this issue Sep 17, 2024 · 0 comments · Fixed by #849
Labels
deployed to `develop` Feature built. Currently BETA testing in the `develop` branch enhancement New features

Comments

@lmorg
Copy link
Owner

lmorg commented Sep 17, 2024

Describe the problem:

» out $gitstatus -> sed 1d -> wc -l -> format int
Error in `format` (0,39): [int marshaller] cannot convert data into the numeric type 'int'

» out $gitstatus -> sed 1d -> wc -l
       0

format int fails because of the whitespace padding

Possible ways to implement:
Literally just a Trim...

Additional context:
N/A

@lmorg lmorg added enhancement New features deployed to `develop` Feature built. Currently BETA testing in the `develop` branch labels Sep 17, 2024
@lmorg lmorg linked a pull request Sep 17, 2024 that will close this issue
@lmorg lmorg mentioned this issue Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed to `develop` Feature built. Currently BETA testing in the `develop` branch enhancement New features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant