Skip to content

Commit 16222c2

Browse files
Lowercase path in .deepnote file check
Signed-off-by: Andy Jakubowski <[email protected]>
1 parent 2c44ef3 commit 16222c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deepnote-content-provider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class DeepnoteContentProvider extends RestContentProvider {
2121
localPath: string,
2222
options?: Contents.IFetchOptions
2323
): Promise<Contents.IModel> {
24-
const isDeepnoteFile = localPath.endsWith('.deepnote');
24+
const isDeepnoteFile = localPath.toLowerCase().endsWith('.deepnote');
2525

2626
if (!isDeepnoteFile) {
2727
// Not a .deepnote file, return as-is

0 commit comments

Comments
 (0)