Skip to content

PS: Remove unnecessary data extension pattern to fix warning #245

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

Merged
merged 1 commit into from
Jun 12, 2025

Conversation

MathiasVP
Copy link
Collaborator

@dilanbhalla reported this warning when running codeql database analyze:

WARNING: Pattern 'semmle/code/powershell/frameworks/**/model.yml' did not match any extension files. (microsoft/powershell-all/0.0.1/qlpack.yml:1,1-1)
WARNING: Pattern 'semmle/code/powershell/frameworks/**/typemodel.yml' did not match any extension files. (microsoft/powershell-all/0.0.1/qlpack.yml:1,1-1)
WARNING: Pattern 'semmle/code/powershell/frameworks/**/model.yml' did not match any extension files. (microsoft/powershell-all/0.0.1/qlpack.yml:1,1-1)
WARNING: Pattern 'semmle/code/powershell/frameworks/**/typemodel.yml' did not match any extension files. (microsoft/powershell-all/0.0.1/qlpack.yml:1,1-1)

These happen because the qlpack has specified that there are data extensions (i.e., .yml files) that match the pattern powershell/frameworks/**/model.yml, but no data extensions match this file name. This is because we recently changed the names of all the data extensions to be blablabla.model.yml (instead of blablabla/model.yml) to be more consistent with GitHub's directory structure.

By removing the two patterns that do not match any data extensions we will remove the warning.

@dilanbhalla dilanbhalla merged commit ed8cc6a into main Jun 12, 2025
4 checks passed
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