Skip to content

Snippet Update tool errors #44805

@mrm9084

Description

@mrm9084

`target_snippet_sources results in all files found in base folder being found twice and listed as duplicates:

target_snippet_sources = ["samples/*.py", "samples/**/*.py"]

This 'error' is both unhelpful and wrong:

f'Error: code snippets are out of sync. Please run Python python_snippet_updater.py "{path}" to fix it.'

It tells you that a file is out of sync and you should run this script to fix it... even though that is what you just did, and this script already fixed it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-author-feedbackWorkflow: More information is needed from author to address the issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions