Skip to content

Commit

Permalink
fix: normalize notebook cell filename in plugin (#1103)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed Apr 4, 2024
1 parent afc7ac7 commit e07355b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions typescript-deno-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class Plugin implements ts.server.PluginModule {
if (process.platform === "win32") {
fileName = fileName.replace(/\//g, "\\");
}
fileName = fileName.replace(/^\^\/vscode-notebook-cell\/[^/]*/, "");
const pluginSettings = projectSettings.get(this.#projectName);
if (!pluginSettings) {
return false;
Expand Down

0 comments on commit e07355b

Please sign in to comment.