File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,7 @@ export const getBackendForFile = (filePath) => {
8888// Simple text file reader
8989const processWithSimple = ( filePath ) => {
9090 try {
91- let toast ;
92- showToast ( {
93- style : Toast . Style . Animated ,
94- title : `Reading ${ path . basename ( filePath ) } ` ,
95- message : `Using Simple Reader...` ,
96- } ) . then ( ( t ) => {
97- toast = t ;
98- } ) ;
9991 const content = fs . readFileSync ( filePath , "utf8" ) ;
100- if ( toast ) toast . hide ( ) ;
10192 return {
10293 content,
10394 backend : FileBackend . SIMPLE ,
@@ -115,7 +106,6 @@ const processWithSimple = (filePath) => {
115106
116107// Process file using markitdown
117108const processWithMarkitdown = ( filePath ) => {
118- const fileName = path . basename ( filePath ) ;
119109 let toast ;
120110
121111 try {
You can’t perform that action at this time.
0 commit comments