vscode-open-in-github icon indicating copy to clipboard operation
vscode-open-in-github copied to clipboard

Copy/Open does not work when workspace root is not in git root.

Open gdziadkiewicz opened this issue 9 years ago • 0 comments

Steps to reproduce

  1. Run vscode
  2. Click File | Open folder... , pick/src/
  3. Close all open tabs
  4. Run command "Copy GitHub link to clipboard"

Expected result

"https://github.com/ziyasal/vscode-open-in-github" in clipboard

Actual result

"https://github.com/ziyasal/vscode-open-in-github/blob/master/srcundefined" in clipboard

Environment

Tested on Windows 10, vscode 1.4.0, extension version 1.2.2.

gdziadkiewicz avatar Aug 21 '16 12:08 gdziadkiewicz