Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

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

Open
strongui opened this issue Aug 7, 2018 · 1 comment
Open

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

strongui opened this issue Aug 7, 2018 · 1 comment

Comments

@strongui
Copy link

strongui commented Aug 7, 2018

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
Copy link

I'm having the same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants