We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4af994 commit f8f47f3Copy full SHA for f8f47f3
1 file changed
pkg/entity/entity.go
@@ -449,7 +449,8 @@ func (w Workspace) GetProjectFolderPath() string {
449
if MapContainsKey(LegacyWorkspaceGroups, w.WorkspaceGroupID) {
450
prefix = "/home/brev/workspace"
451
} else {
452
- prefix = "/home/ubuntu"
+ sshUser := w.GetSSHUser()
453
+ prefix = "/home/" + sshUser
454
}
455
var folderName string
456
if w.IDEConfig.DefaultWorkingDir != "" { //nolint:gocritic // i like if else
0 commit comments