We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3372ac commit 402ee07Copy full SHA for 402ee07
cli/open.go
@@ -117,6 +117,7 @@ func (r *RootCmd) openVSCode() *clibase.Cmd {
117
return xerrors.Errorf("directory path %q not supported, use an absolute path instead", directory)
118
}
119
if insideThisWorkspace {
120
+ // TODO(mafredri): Return error if directory doesn't exist?
121
directory, err = filepath.Abs(directory)
122
if err != nil {
123
return xerrors.Errorf("expand directory: %w", err)
0 commit comments