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: string_to_table in ssv.rs now filters comments. (issue #11997) #12035

Merged
merged 7 commits into from Mar 1, 2024

Conversation

Olilin1
Copy link
Contributor

@Olilin1 Olilin1 commented Mar 1, 2024

Description

Fixes the issue that comments are not ignored in SSV formatted data.
Fix image

User-Facing Changes

If you have a comment in the beginning of SSV formatted data it is now not included in the SSV table.

Tests + Formatting

The PR adds one test in the ssv.rs file. All previous test-cases are still passing. Clippy and Fmt have been ran.

@Olilin1 Olilin1 changed the title Fix: string_to_table in ssv.rs now filters comments. (#11997) Fix: string_to_table in ssv.rs now filters comments. (issue #11997) Mar 1, 2024
@fdncred fdncred merged commit 39cf43e into nushell:main Mar 1, 2024
19 checks passed
@fdncred
Copy link
Collaborator

fdncred commented Mar 1, 2024

Looks good. Thanks for the fix!

@hustcer hustcer added this to the v0.91.0 milestone Mar 1, 2024
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.

from ssv does not ignore lines starting with a comment #
3 participants