Open LukasDrude opened 6 years ago
Hello! How do you specify only files in the project root folder and does not include any files with the same extension in other folders? For example, I want to exclude/ignore only the composer.json in the project root? Thanks!
Visual Studio Code 1.22.2 Deploy 14.0.0
I use deploy packages with sftp with an exclude list. I get deploy log messages such as these with leading slash:
However, I have to write exclude entries like these without the leading slash:
I suggest to either modify the deploy log messages or to at least add a few examples to the relevant Wiki page. Does this also depend on whether
minimatch
ornode-glob
is used?Interestingly [1] uses
".vscode/**"
as an exclude pattern while [2] uses a leading slash. Even worse, in issue comments [3, 4] both ways seem to be recommended.[1] https://github.com/mkloubert/vs-deploy/wiki/target_batch [2] https://github.com/mkloubert/vs-deploy/wiki/examples_php [3] https://github.com/mkloubert/vs-deploy/issues/57#issuecomment-302336344 [4] https://github.com/mkloubert/vs-deploy/issues/57#issuecomment-294356063
This is my full
settings.json
: