Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ const gitPullerExtension: JupyterFrontEndPlugin<void> = {

let puller: GitPuller | null = null;

const basePath = PathExt.basename(repo);
const basePath = PathExt.join(
defaultFileBrowser.model.path,
PathExt.basename(repo)
);
const branch = urlParams.get('branch') || 'main';
const provider = urlParams.get('provider') || 'github';
let filePath = urlParams.get('urlpath');
Expand Down
Loading