mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-13 05:46:29 +00:00
Remove debug logs
This commit is contained in:
parent
6d59219d26
commit
b29508949d
2 changed files with 1 additions and 8 deletions
|
@ -483,16 +483,14 @@ function crateGraph(ctx: Ctx, full: boolean): Cmd {
|
|||
const params = {
|
||||
full: full,
|
||||
};
|
||||
const dot = await ctx.client.sendRequest(ra.viewCrateGraph, params);
|
||||
|
||||
console.log(dot);
|
||||
const dot = await ctx.client.sendRequest(ra.viewCrateGraph, params);
|
||||
|
||||
let scripts = [
|
||||
{ file: vscode.Uri.joinPath(node_modules_path, 'd3', 'dist', 'd3.min.js') },
|
||||
{ file: vscode.Uri.joinPath(node_modules_path, '@hpcc-js', 'wasm', 'dist', 'index.min.js'), worker: true },
|
||||
{ file: vscode.Uri.joinPath(node_modules_path, 'd3-graphviz', 'build', 'd3-graphviz.min.js') },
|
||||
]
|
||||
console.log(scripts);
|
||||
|
||||
const scripts_html = scripts.map(({ file, worker }) => {
|
||||
let uri = panel.webview.asWebviewUri(file);
|
||||
|
@ -535,8 +533,6 @@ function crateGraph(ctx: Ctx, full: boolean): Cmd {
|
|||
</body>
|
||||
`;
|
||||
|
||||
console.log(html);
|
||||
|
||||
panel.webview.html = html;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue