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(git): comment sign detection in get_config function #1281

Merged
merged 1 commit into from
Jan 20, 2024

Conversation

pietrushnic
Copy link
Contributor

  • Modify the condition in the get_config function to correctly ignore comments and blank lines.
  • Update the regular expression to exclude lines starting with '#' or ';'.
  • This change ensures that only valid key-value pairs are added to the configuration table.

- Modify the condition in the get_config function to correctly ignore
  comments and blank lines.
- Update the regular expression to exclude lines starting with '#' or
  ';'.
- This change ensures that only valid key-value pairs are added to the
  configuration table.
@folke folke merged commit d0d410b into folke:main Jan 20, 2024
3 checks passed
@folke
Copy link
Owner

folke commented Jan 20, 2024

thanks

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