Skip to content

Commit 253ad75

Browse files
authored
remove console logging (#202)
1 parent f248a6c commit 253ad75

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/client/index.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import { CellOutput } from './render';
2020
import { ActivationFunction, OutputItem, RendererContext } from 'vscode-notebook-renderer';
2121

2222
export const activate: ActivationFunction = (ctx: RendererContext<unknown>) => {
23-
console.log('Jupyter Notebook Renderer activated');
2423
return {
2524
renderOutputItem(outputItem: OutputItem, element: HTMLElement) {
2625
renderOutput(outputItem, element, ctx);
@@ -39,9 +38,7 @@ function renderOutput(outputItem: OutputItem, element: HTMLElement, ctx: Rendere
3938
if (!ctx.workspace.isTrusted) {
4039
return;
4140
}
42-
console.log('request', outputItem);
4341
const output = convertVSCodeOutputToExecuteResultOrDisplayData(outputItem);
44-
console.log(`Rendering mimeType ${mimeString}`, output);
4542

4643
ReactDOM.render(
4744
React.createElement(CellOutput, { mimeType: mimeString, output, ctx, outputId: outputItem.id }, null),

src/extension/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export async function activate(context: ExtensionContext): Promise<{
2828
editor
2929
)
3030
.then(
31-
(fulfilled) => {
32-
console.log('Sent to UI', fulfilled);
31+
() => {
32+
/* noop */
3333
},
3434
(ex) => console.error('Failed to send', ex)
3535
);

0 commit comments

Comments
 (0)