Skip to content

Commit 9ac58d6

Browse files
committed
Remove console logs
1 parent 94e38b2 commit 9ac58d6

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

src/plugins/driveBrowserPlugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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);

src/requests.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)