Convert ReviewReply.discardIfEmpty to use promises.
Review Request #11633 — Created May 28, 2021 and submitted
This change updates the ReviewReply.discardIfEmpty logic to use promises
instead of success/error callbacks.
- Ran js-tests.
- Verified that the draft reply object was properly discarded when there
were no more comments attached.
- Commits:
-
Summary ID e9c0791870d47c38a780eb7abdfabecb0cbe9fc2 cb7bf98fc2df44e009e60730bb37083d53b86c14 - Diff:
-
Revision 2 (+300 -290)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Description:
-
~ This change updates the
ReviewReply.discardIfEmpty
logic to use promises~ This change updates the ReviewReply.discardIfEmpty logic to use promises
instead of success/error callbacks. - Commits:
-
Summary ID cb7bf98fc2df44e009e60730bb37083d53b86c14 3f6b8762d5154292f9f9877815f2914ef886d6fe - Diff:
-
Revision 3 (+360 -276)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 3f6b8762d5154292f9f9877815f2914ef886d6fe 88f81396cf3cdf52a6e1b985d2511d73a7f96429 - Diff:
-
Revision 4 (+354 -276)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 88f81396cf3cdf52a6e1b985d2511d73a7f96429 3ba3be0e0b18ee94511e3ea5a9156e106c16de5c - Diff:
-
Revision 5 (+348 -276)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.