cozy-labs/cozy-desktop

View on GitHub

Showing 615 of 615 total issues

Avoid too many return statements within this function.
Open

            return this.save(file)
Severity: Major
Found in core/merge.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          if (lower(deletedPath(b), deletedPath(move))) return -moveFirst
    Severity: Major
    Found in core/remote/change.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                return cozy.files.destroyById(remoteDoc._id)
      Severity: Major
      Found in dev/capture/remote.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                  return this.save(doc)
        Severity: Major
        Found in core/merge.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return sortForDescendant(move, b, moveFirst)
          Severity: Major
          Found in core/remote/change.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return 'cozy-note'
            Severity: Major
            Found in gui/js/fileutils.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return 'contact'
              Severity: Major
              Found in gui/js/fileutils.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                              return await cozy.files.updateAttributesById(remoteDoc._id, opts)
                Severity: Major
                Found in dev/capture/remote.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                            return
                  Severity: Major
                  Found in core/merge.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                              return this.save(doc)
                    Severity: Major
                    Found in core/merge.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return [Number(lhs), Number(rhs)]
                      Severity: Major
                      Found in core/metadata.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                    return
                        Severity: Major
                        Found in core/merge.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return
                          Severity: Major
                          Found in core/merge.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return this.save(doc)
                            Severity: Major
                            Found in core/merge.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return this.save(dst)
                              Severity: Major
                              Found in core/merge.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return -descFirst
                                Severity: Major
                                Found in core/remote/change.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return sortForDescendant(b, move, -moveFirst)
                                  Severity: Major
                                  Found in core/remote/change.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return 'text'
                                    Severity: Major
                                    Found in gui/js/fileutils.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return 'audio'
                                      Severity: Major
                                      Found in gui/js/fileutils.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                              return this.merge.moveFileAsync(side, doc, was)
                                        Severity: Major
                                        Found in core/prep.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language