Skip to content

Handle invalid custom terminal profile #119830

@RMacfarlane

Description

@RMacfarlane

Issue Type: Bug

  1. Add a custom profile that uses an older schema to settings:
"terminal.integrated.profiles.osx": {
  "bash (login)": {
    "pathOrPaths": "bash",
    "args": ["-l"]
  }
}
  1. Run the Select Default Profile command

Nothing happens, but there's an error in the console:

ERR The "path" argument must be of type string. Received type undefined: Error: The "path" argument must be of type string. Received type undefined

Would be nice to show an error notification

VS Code version: Code - Insiders 1.55.0-insider (8437d38, 2021-03-24T08:10:36.007Z)
OS version: Darwin x64 19.6.0

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code InsidersterminalGeneral terminal issues that don't fall under another labelverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions