Skip to content

Commit 7c3e74c

Browse files
committed
fix extension filter
1 parent 57e826a commit 7c3e74c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/notebooks/deepnote/deepnoteInputBlockCellStatusBarProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ export class DeepnoteInputBlockCellStatusBarItemProvider
921921
// Split by comma and clean up
922922
const extensions = allowedExtensions
923923
.split(',')
924-
.map((ext) => ext.trim())
924+
.map((ext) => ext.trim().replace(/^\./, ''))
925925
.filter((ext) => ext.length > 0);
926926

927927
if (extensions.length > 0) {

0 commit comments

Comments
 (0)