Skip to content

Schema error on pubspec.yaml on version 0.16.0 #444

@Vayth

Description

@Vayth

Describe the bug

When I open a file named pubspec.yaml in Linux (WSL) using version 0.16.0, I got an error in the problem window. I have tried the following scenario and the bug only happens in that specific one.

  • ❌ Linux (WSL) version 0.16.0, named pubspec.yaml
  • ✔️ Linux (WSL) version 0.15.0, named pubspec.yaml
  • ✔️ Linux (WSL) version 0.16.0, named pubspecs.yaml
  • ✔️ Linux (WSL) version 0.16.0, named pubspec.yml
  • ✔️ Windows, version 0.15.0
  • ✔️Windows, version 0.16.0

image

Expected Behavior

No error message

Current Behavior

Got error message: Unable to load schema from 'https://json.schemastore.org/pubspec': No content

Steps to Reproduce

  1. Open VSCode in Linux (WSL)
  2. Use extension version 0.16.0
  3. Create a file named pubspec.yaml

Environment

  • Windows
  • Mac
  • Linux (through WSL, haven't tried on real Linux)
  • other (please specify)

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