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

bug: wmill sync pull : throws error when using --exclude with * patterns #5109

Open
FriedrichWessel opened this issue Jan 21, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@FriedrichWessel
Copy link

Describe the bug

The wmill sync pull --help states:
that there is an --exclude allowed with patterns like * / ** and folders.

The command failes if any of those patterns is used.
The command runs, but syncs files in the folder anyway if a folder is directly provided
The command runs as expected when directly providing a file

To reproduce

  • use the windmill plugin for VSCode
  • use wmill sync pull --exclude 'f/anyFolder/**'

See that you will receive the error:
error: No arguments allowed for command "wmill sync pull".

wmill sync pull --exclude f/testFolder/testfile.py -> works as expected
wmill sync pull --exclude f/testFolder/ -> runs ans syncs the file testfile.py anyway
wmill sync pull --exclude f/testFolder* -> runs ans syncs the file testfile.py anyway
wmill sync pull --exclude f/testFolder** -> runs ans syncs the file testfile.py anyway
wmill sync pull --exclude f/testFolder/** -> shows the error
wmill sync pull --exclude f/testFolder/* -> shows the error

using the patterns inside the wmill.yaml works

Expected behavior

wmill sync pull --exclude f/testFolder/ should not any file inside this folder

Screenshots

No response

Browser information

Chrome Version 131.0.6778.265 (Official Build) (arm64)

Application version

CE v1.445.1

Additional Context

Using the wmill Extension in VSCode

@FriedrichWessel FriedrichWessel added the bug Something isn't working label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants