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(split-review): search by string in names #140

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Nov 9, 2024

Since the review files are Paths now, they can't be searched by in list[str]s. In particular, the file can't be searched in ZipFile#namelist() in download_artifacts (example run: https://github.com/Chatterino/chatterino2/actions/runs/11756776343/job/32753285579).

This PR, in particular the first commit, fixes that by converting to a string.

With paths being Paths now, many Path(foo) can be converted to foo. The tests didn't pass Paths, so I fixed that too.

I tested the last commit at Nerixyz/test-mini-cpp-project#6.

Copy link
Owner

@ZedThree ZedThree left a comment

Choose a reason for hiding this comment

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

Lovely, thanks @Nerixyz !

@ZedThree ZedThree merged commit e005a6d into ZedThree:master Nov 18, 2024
1 check passed
@Nerixyz Nerixyz deleted the fix/split-review branch November 18, 2024 16:05
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