Invalid include local validation

Checklist

Summary

Local file .gitlab\ci\test-ci.gitlab-ci.yml does not exist! However, the file exists...

Steps to reproduce

  1. Create dir .gitlab/ci
  2. Create file .gitlab/ci/test-ci.gitlab-ci.yml
  3. Add in .gitlab-ci.yml
include:
  - local: .gitlab\ci\test-ci.gitlab-ci.yml
  1. Run "Validate GitLab CI config"

What is the current bug behavior?

Local file .gitlab\ci\test-ci.gitlab-ci.yml does not exist!

What is the expected correct behavior?

GitLab Workflow: Your CI configuration is valid.

Relevant logs and/or screenshots

image image

Possible fixes

https://gitlab.com/gitlab-org/gitlab-vscode-extension/-/blob/main/src/extension.ts#L149

pattern: '**\/*.gitlab-ci*.{yml,yaml}\' },

Maybe. However, I'm not sure and other escaping options should be tried. Now it's not a mask, but a hardcode

Edited by Igor Imangulov