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

Fixed issues when trying to configure the file paths to match with toml. #18

Merged
merged 1 commit into from
Aug 8, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion poetry_dynamic_versioning/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ def _substitute_version(

files = set() # type: MutableSet[Path]
for file_glob in file_globs:
for match in root.glob(file_glob):
# since file_glob here could be a non-internable string
for match in root.glob(str(file_glob)):
files.add(match.resolve())
for file in files:
original_content = file.read_text()
Expand Down