Skip to content

reignoring subdirectories of an unignored directory in .vscodeignore doesn't work...use the ignore npm package instead of your own logic #417

Closed

Description

Can we use the ignore npm package which conforms to the .gitignore spec instead of your own from-scratch logic? I'll make a PR.

Here's my .vscodeignore:

**
!node_modules
!out/
out/test
out/test/
out/test/*
out/test/**/*
!LICENSE.md
!package.json
!README.md
!yarn.lock

When I run vsce ls I still see files from out/test listed:

out/test/runTest.js
out/test/suite/extension.test.js
out/test/suite/index.js

Activity

  1. changed the title [-]reignoring subdirectories of an unignored directory in .vscodeignore doesn't work[/-] [+]reignoring subdirectories of an unignored directory in .vscodeignore doesn't work...use the ignore npm package instead of your own logic[/+] on Jan 31, 2020
  2. added
    bug
    on Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions