vs-deploy icon indicating copy to clipboard operation
vs-deploy copied to clipboard

Deply current folder, does not respect exclude setting #592

Open strongui opened this issue 5 years ago • 1 comments

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.

strongui avatar Aug 07 '18 15:08 strongui

I'm having the same issue.

chriscrowley avatar Dec 03 '19 22:12 chriscrowley