1. 07 Apr, 2022 3 commits
  2. 06 Apr, 2022 5 commits
  3. 05 Apr, 2022 7 commits
  4. 04 Apr, 2022 1 commit
  5. 03 Apr, 2022 1 commit
    • Bruce Dawson's avatar
      Ensure _PresubmitResult._message is text · db8622bc
      Bruce Dawson authored
      It is easy to get type confusion and end up passing a list as the
      message parameter to _PresubmitResult. This error will not be detected
      until the end of the run - perhaps hours later - when all evidence of
      where the list came from is lost.
      
      This change ensures that the message parameter is a string. If it is not
      then the exception that is thrown should allow quick identification of
      the problematic code.
      
      This also fixes a presubmit unit test that passed None as the message.
      We could support that but I don't think that we should.
      
      Bug: 1309977
      Change-Id: Ifb1d5100d47922b0ebd8bb834caa6fbba690b43c
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3566436Reviewed-by: 's avatarJochen Eisinger <jochen@chromium.org>
      Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
      db8622bc
  6. 31 Mar, 2022 2 commits
  7. 30 Mar, 2022 3 commits
  8. 29 Mar, 2022 3 commits
  9. 28 Mar, 2022 3 commits
  10. 24 Mar, 2022 2 commits
  11. 23 Mar, 2022 5 commits
  12. 22 Mar, 2022 3 commits
  13. 21 Mar, 2022 2 commits