Skip to content

Commit b295089

Browse files
committed
Remove debug logs
1 parent 6d59219 commit b295089

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

crates/rust-analyzer/src/handlers.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,6 @@ pub(crate) fn handle_view_crate_graph(
132132
) -> Result<String> {
133133
let _p = profile::span("handle_view_crate_graph");
134134
let dot = snap.analysis.view_crate_graph(params.full)??;
135-
136-
eprintln!("{}", dot);
137-
138135
Ok(dot)
139136
}
140137

editors/code/src/commands.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -483,16 +483,14 @@ function crateGraph(ctx: Ctx, full: boolean): Cmd {
483483
const params = {
484484
full: full,
485485
};
486-
const dot = await ctx.client.sendRequest(ra.viewCrateGraph, params);
487486

488-
console.log(dot);
487+
const dot = await ctx.client.sendRequest(ra.viewCrateGraph, params);
489488

490489
let scripts = [
491490
{ file: vscode.Uri.joinPath(node_modules_path, 'd3', 'dist', 'd3.min.js') },
492491
{ file: vscode.Uri.joinPath(node_modules_path, '@hpcc-js', 'wasm', 'dist', 'index.min.js'), worker: true },
493492
{ file: vscode.Uri.joinPath(node_modules_path, 'd3-graphviz', 'build', 'd3-graphviz.min.js') },
494493
]
495-
console.log(scripts);
496494

497495
const scripts_html = scripts.map(({ file, worker }) => {
498496
let uri = panel.webview.asWebviewUri(file);
@@ -535,8 +533,6 @@ function crateGraph(ctx: Ctx, full: boolean): Cmd {
535533
</body>
536534
`;
537535

538-
console.log(html);
539-
540536
panel.webview.html = html;
541537
};
542538
}

0 commit comments

Comments
 (0)