1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Chore: Apply eslint rules

This commit is contained in:
Laurent Cozic
2019-09-19 22:51:18 +01:00
parent ab29d7e872
commit e648392330
185 changed files with 1196 additions and 1196 deletions

View File

@ -17,7 +17,7 @@ class FileApiDriverDropbox {
makePath_(path) {
if (!path) return '';
return '/' + path;
return `/${path}`;
}
hasErrorCode_(error, errorCode) {
@ -224,7 +224,7 @@ class FileApiDriverDropbox {
// It returns "failed" if it didn't work but anyway throw an error if it's anything other than complete or in_progress
if (check['.tag'] !== 'in_progress') {
throw new Error('Batch delete failed? ' + JSON.stringify(check));
throw new Error(`Batch delete failed? ${JSON.stringify(check)}`);
}
await time.sleep(2);
}