Skip to content

Unable to exclude files using glob pattern #1763

@a1isaeed

Description

@a1isaeed

Language

Typescript | JavaScript | CSS

Sample input source code

// sample file structure
src/
├── app/
│   ├── app.css
│   ├── app.html
│   └── app.js
└── package.json


// sortier command
sortier '**/!(*.json|*.css)'

Expected output

// result
sortier should have only modified the html and js files

Actual output (or error message)

// result
sortier modifies ALL files and does not exclude the css and json files

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions