diff --git a/libs/git/info.go b/libs/git/info.go index 52dade81e..d9f529f39 100644 --- a/libs/git/info.go +++ b/libs/git/info.go @@ -84,7 +84,7 @@ func FetchRepositoryInfoAPI(ctx context.Context, path vfs.Path, w *databricks.Wo } func fixResponsePath(path string) string { - if strings.HasPrefix(path, "/Users/") { + if !strings.HasPrefix(path, "/Workspace/") { return "/Workspace/" + path } return path