threadheap / serverless-ide-vscode

Serverless IDE: Enhanced support for AWS SAM and CloudFormation in VS Code
https://serverless-ide.com/
195 stars 45 forks source link

"package.patterns" is not recognised #139

Closed mileswatson closed 3 years ago

mileswatson commented 3 years ago

Issue

"[Serverless IDE] Unexpected property patterns" is shown when using the patterns feature to exclude files from the package.

Example

package:
  patterns:
    - "!build/tests-unit/**"

Expected behaviour

No error should be shown - "package.patterns" should be recognized as an array of strings. https://www.serverless.com/framework/docs/providers/aws/guide/packaging#patterns

Sorry if this isn't the right place to report, I was confused by the note at the top of the template.

ZackMitkin commented 3 years ago

When will this patch be released? Kinda annoying having the error there :/

phugodness commented 3 years ago

same here, i have to disable it for a while :(