Skip to content

Commit

Permalink
Remove "x-application/github-issues" json transform from cell output
Browse files Browse the repository at this point in the history
  • Loading branch information
redking00 committed Nov 18, 2024
1 parent c37c7a9 commit f427a6c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"--extensionDevelopmentPath=${workspaceRoot}"
],
"outFiles": [
"${workspaceRoot}/client/out/**/*.js"
"${workspaceRoot}/client/dist/**/*.js"
],
"preLaunchTask": {
"type": "npm",
Expand Down
5 changes: 1 addition & 4 deletions client/src/controller/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,7 @@ export class Session {
results = data;
}
return new vscode.NotebookCellOutput([...Object.keys(results)].map((mime) => {
if (
mime.includes("json") ||
mime.startsWith("x-application/github-issues")
) {
if (mime.includes("json")) {
return vscode.NotebookCellOutputItem.json(results[mime], mime);
}
else if (mime.startsWith("image")) {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Visual Studio Code plugin for Deno lsp support on notebooks (+ NBTS serializer + DenoNBTS kernel)",
"author": "redking00 & Deno Land Inc.",
"license": "MIT",
"version": "1.0.5",
"version": "1.0.6",
"icon": "deno.png",
"galleryBanner": {
"color": "#3B3738",
Expand All @@ -24,6 +24,8 @@
"Formatters",
"Linters",
"Debuggers",
"Data Science",
"Education",
"Other"
],
"keywords": [
Expand Down

0 comments on commit f427a6c

Please sign in to comment.