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

Fix first token whitespace #86

Merged
merged 3 commits into from
Feb 24, 2023

Conversation

nwoythal
Copy link

@nwoythal nwoythal commented Feb 22, 2023

Continuing work from #83 by adding tests

Resolves #81

@CLAassistant
Copy link

CLAassistant commented Feb 22, 2023

CLA assistant check
All committers have signed the CLA.

@chelnak chelnak added the bug Something isn't working label Feb 23, 2023
@nwoythal nwoythal marked this pull request as ready for review February 23, 2023 16:48
@nwoythal nwoythal requested a review from a team as a code owner February 23, 2023 16:48
@nwoythal
Copy link
Author

Having issues creating a proper ticket -- seems something is fishy with signing up a new account via tickets.puppetlabs.com 🤷

@ekohl
Copy link

ekohl commented Feb 23, 2023

I'm not sure an issue is really needed.

@chelnak
Copy link

chelnak commented Feb 23, 2023

Here is the right place for community tickets these days 😊.

@chelnak
Copy link

chelnak commented Feb 23, 2023

Small nit. Would it be possible to rebase on main rather than having the merge commit?

ekohl and others added 2 commits February 24, 2023 09:59
If the token is considered "trailing whitespace" and needs to be
deleted, it tries to remove the item from the linked list. However, that
doesn't work on the first and last entries. There already is a clause
for the last item, just not the first item.
@chelnak
Copy link

chelnak commented Feb 24, 2023

@ekohl Are you happy with this as a continuation of your work?

Copy link

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

Yes, thanks @nwoythal for adding tests.

@chelnak chelnak merged commit b56672d into puppetlabs:main Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

puppet-lint crashes if the first line contains only whitespace
5 participants