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

The extension crashes on if no workspace is open.

Open gdziadkiewicz opened this issue 9 years ago • 0 comments

Due to fact that workspace variable is equal to undefined when no workspace is open in vscode the extensions crashes on attempt to call it. IMO the extension should handle single open files(no workspace) which are in supported repo type.

Link to code: https://github.com/ziyasal/vscode-open-in-github/blob/540b5328d1ad436f3c5101dcdfd9ab0db5c6349f/src/extension.js#L36-L38

gdziadkiewicz avatar Aug 21 '16 10:08 gdziadkiewicz