mkloubert / vs-deploy

Visual Studio Code extension that provides commands to deploy files of a workspace to a destination.
https://marketplace.visualstudio.com/items?itemName=mkloubert.vs-deploy
MIT License
131 stars 24 forks source link

Deply current folder, does not respect exclude setting #592 #154

Open strongui opened 6 years ago

strongui commented 6 years ago

Describe the bug In my settings.json file I have something like this:

"exclude": [
                    ".DS_Store",
                    ".git",
                    ".vscode",
                    "shared/assets/node_modules/"
                ],

When I am at the root of my folder structure, and then do deploye current file /folder, it starts comiting everything, even if inside the folder I have a shared/assets/node_modules folder.

Visual Studio Code Version : 1.25.0 Code Settings Sync Version : 14.0.0 Operating System : Windows 10 Occurs On: Upload Proxy Enabled: No Gist Id: [ ID_HERE ]

To Reproduce Steps to reproduce the behavior: Do deploy on root folder of project

Expected behavior Should upload all files/folders expect those in the exclude settings

- project <-- Deploy current folder --.git <-- Should not be deployed, but its currently --shared ---assets ---node_modules <-- Should not be deployed, but its currently --home ---index.html --about_us ---about_us.html --robots.txt

When I deploye the project folder, everything should be uploaded, except the folders/items in bold, since they are in the exclude config.

chriscrowley commented 4 years ago

I'm having the same issue.