File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,6 @@ namespace Private {
351351 }
352352 } else {
353353 await browser . model . restore ( browser . id ) ;
354- console . log ( 'PROOF' ) ;
355354 await browser . model . refresh ( ) ;
356355 }
357356 browser . removeClass ( restoring ) ;
Original file line number Diff line number Diff line change @@ -89,25 +89,17 @@ export async function getContents(
8989 driveName : string ,
9090 options : { path : string ; registeredFileTypes : IRegisteredFileTypes }
9191) {
92- console . log (
93- 'debug: getContents() called with driveName:' ,
94- driveName ,
95- 'options:' ,
96- options
97- ) ;
98-
9992 const response = await requestAPI < any > (
10093 'drives/' + driveName + '/' + options . path ,
10194 'GET'
10295 ) ;
96+
10397 // checking if we are dealing with a directory or a file
10498 const isDir : boolean = response . data . length !== undefined ;
10599
106100 if ( response . data ) {
107101 // listing the contents of a directory
108102 if ( isDir ) {
109- console . log ( 'debug: isDir:' , isDir ) ;
110-
111103 const fileList : IContentsList = { } ;
112104
113105 response . data . forEach ( ( row : any ) => {
@@ -148,8 +140,6 @@ export async function getContents(
148140 }
149141 // getting the contents of a file
150142 else {
151- console . log ( 'debug: isFile:' ) ;
152-
153143 const [ fileType , fileMimeType , fileFormat ] = getFileType (
154144 PathExt . extname ( PathExt . basename ( options . path ) ) ,
155145 options . registeredFileTypes
You can’t perform that action at this time.
0 commit comments