소스 검색

Fixes https://github.com/jupyterlab/jupyterlab/issues/7156

Afshin T. Darian 5 년 전
부모
커밋
1aaf7e3380
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/application-extension/src/index.tsx

+ 1 - 1
packages/application-extension/src/index.tsx

@@ -254,7 +254,7 @@ const tree: JupyterFrontEndPlugin<void> = {
     const { commands } = app;
     const treePattern = new RegExp(`^${paths.urls.tree}([^?]+)`);
     const workspacePattern = new RegExp(
-      `^${paths.urls.workspaces}[^?\/]+/tree/([^?]+)`
+      `^${paths.urls.workspaces}/[^?/]+/tree/([^?]+)`
     );
 
     commands.addCommand(CommandIDs.tree, {