We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c315379 commit db39d52Copy full SHA for db39d52
1 file changed
tools/services/publish_service.py
@@ -30,7 +30,7 @@ def update_docs():
30
path_define.docs_dir.mkdir(parents=True, exist_ok=True)
31
32
for path_from in path_define.outputs_dir.iterdir():
33
- if re.match(r'info-.*px-.*\.md|preview-.*px\.png', path_from.name) is None:
+ if re.match(r'^(info-.*px-.*\.md|preview-.*px\.png)$', path_from.name) is None:
34
continue
35
path_to = path_from.copy_into(path_define.docs_dir)
36
logger.info("Copy file: '{}' -> '{}'", path_from, path_to)
0 commit comments