We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6290e46 commit 3d4ef8dCopy full SHA for 3d4ef8d
src/gdrive.ts
@@ -55,7 +55,7 @@ export class GoogleDriveFS extends CloudFS<DriveError> {
55
56
if (path === '/') return 'root';
57
58
- const segments = path.split('/').filter(Boolean);
+ const segments = path.split('/').filter(v => v);
59
let parentId: string | undefined = 'root';
60
let fileId: string | undefined = 'root';
61
let currentPath = '';
0 commit comments