Skip to content

Uri.with: Cannot remove authority #8465

@chrmarti

Description

@chrmarti

Testing #8192

  • VSCode Version: Code - Insiders 1.3.0-insider (d0c2b89, 2016-06-28T05:04:06.083Z)
  • OS Version: Darwin x64 15.5.0

Steps to Reproduce:

  1. I can add an authority: vscode.Uri.parse("scheme:/path").with({ authority: "authority" }).toString()
    => "scheme://authority/path"
  2. But I cannot remove it: vscode.Uri.parse("scheme:/path").with({ authority: "authority" }).with({ authority: "" }).toString()
    => "scheme://authority/path"

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions