Showing 415 of 610 total issues
Avoid too many return
statements within this function. Open
Open
return aFirst
Avoid too many return
statements within this function. Open
Open
if (isRestore(b) || isAdd(b)) return sortForAdd(b, a, bFirst)
Avoid too many return
statements within this function. Open
Open
return bFirst
Avoid too many return
statements within this function. Open
Open
return bFirst
Avoid too many return
statements within this function. Open
Open
return new RemoteError({
code: NO_COZY_SPACE_CODE,
message: 'Not enough space available on remote Cozy',
err
})
Avoid too many return
statements within this function. Open
Open
return bFirst
Avoid too many return
statements within this function. Open
Open
return new RemoteError({ err })
Avoid too many return
statements within this function. Open
Open
return 0
Avoid too many return
statements within this function. Open
Open
return aFirst
Avoid too many return
statements within this function. Open
Open
return aFirst
Avoid too many return
statements within this function. Open
Open
return bFirst
Avoid too many return
statements within this function. Open
Open
return this.identifyExistingDocChange(
remoteDoc,
was,
previousChanges,
originalMoves,
Avoid too many return
statements within this function. Open
Open
return new RemoteError({
code: INVALID_FOLDER_MOVE_CODE,
message:
'The folder would be moved wihtin one of its sub-folders on the remote Cozy',
err
Avoid too many return
statements within this function. Open
Open
return aFirst
Avoid too many return
statements within this function. Open
Open
return aFirst
Avoid too many return
statements within this function. Open
Open
if (areParentChild(deletedPath(move), createdPath(b))) return -moveFirst
Avoid too many return
statements within this function. Open
Open
if (localChange.isChildUpdate(a, b)) return aFirst
Avoid too many return
statements within this function. Open
Open
if (localChange.isChildDelete(b, a)) return aFirst
Avoid too many return
statements within this function. Open
Open
return aFirst
Avoid too many return
statements within this function. Open
Open
if (areParentChild(createdPath(move), createdPath(b))) return moveFirst