1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-02 22:49:09 +02:00

Chore: Apply eslint no-unused-vars eslint config and add TypeScript config

This commit is contained in:
Laurent Cozic
2019-09-12 22:16:42 +00:00
parent 0b9e007b46
commit 15a42a3729
90 changed files with 339 additions and 187 deletions

View File

@@ -151,7 +151,7 @@ class FileApiDriverOneDrive {
return this.api_.exec('DELETE', this.makePath_(path));
}
async move(oldPath, newPath) {
async move() {
// Cannot work in an atomic way because if newPath already exist, the OneDrive API throw an error
// "An item with the same name already exists under the parent". Some posts suggest to use
// @name.conflictBehavior [0]but that doesn't seem to work. So until Microsoft fixes this