Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-i committed Aug 28, 2024
1 parent a9765cf commit 523cf55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,10 @@ function getSelectedFilePath(
* Checks if path contains "RTC" drive prefix potentially added by jupyter-collaboration
* and returns a local path removing "RTC" prefix if needed
*/
function getLocalPath(path: string, contents: Contents.IManager): string {
export function getLocalPath(
path: string,
contents: Contents.IManager
): string {
if (contents.driveName(path) === 'RTC') {
return contents.localPath(path);
}
Expand Down

0 comments on commit 523cf55

Please sign in to comment.