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

pkg.parser: add the ability to parse manifests with comments #504

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

muvaf
Copy link
Member

@muvaf muvaf commented Aug 8, 2023

Description of your changes

Adds the ability to skip the files with no content, which was determined with having only white spaces but files where all lines are commented out should be skipped as well.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

Manually and with new unit tests added.

pkg/parser/parser.go Outdated Show resolved Hide resolved
pkg/parser/parser.go Outdated Show resolved Hide resolved
@muvaf muvaf merged commit afbf4fc into crossplane:master Aug 8, 2023
9 checks passed
@muvaf muvaf deleted the parse-me-alright branch August 8, 2023 15:10
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.

2 participants