Skip to content

Commit da42ff4

Browse files
committed
build worker into dist
1 parent 5680dd6 commit da42ff4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

worker/dist/worker.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,14 +354,13 @@ self.props = {
354354
files.push(...resp.files);
355355
pageToken = resp.nextPageToken;
356356
} while (pageToken);
357-
358-
files.forEach(file => {
357+
358+
files.forEach(file => {
359359
if (file && file.mimeType == 'application/vnd.google-apps.shortcut') {
360360
file.id = file.shortcutDetails.targetId;
361361
file.mimeType = file.shortcutDetails.targetMimeType;
362362
}
363363
});
364-
365364
return {
366365
files
367366
};
@@ -406,8 +405,8 @@ self.props = {
406405
if (resp.files.length === 0) {
407406
return null;
408407
}
409-
410-
if (resp.files[0].shortcutDetails){
408+
409+
if (resp.files[0].shortcutDetails) {
411410
resp.files[0].id = resp.files[0].shortcutDetails.targetId;
412411
}
413412

0 commit comments

Comments
 (0)