Skip to content

Commit 344d078

Browse files
committed
feat: support --disable-build-graph
1 parent a6e045f commit 344d078

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lang/parse.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ func Parse(ctx context.Context, uri string, args ParseOptions) ([]byte, error) {
102102
log.Error("Failed to collect symbols: %v\n", err)
103103
return nil, err
104104
}
105+
105106
log.Info("all symbols collected, start writing to stdout...\n")
106107

107108
if args.RepoID != "" {
@@ -199,9 +200,6 @@ func collectSymbol(ctx context.Context, cli *lsp.LSPClient, repoPath string, opt
199200
}
200201
}
201202

202-
if err := repo.BuildGraph(); err != nil {
203-
return nil, err
204-
}
205203
return repo, nil
206204
}
207205

0 commit comments

Comments
 (0)