Fix up linting errors found by the new js-lint#37
Conversation
|
RWLockReader.ts and RWLockWriter.ts contained a few conditional branches that were unreachable. These branches were trying to equate However, seeing as this branch has never been executed, and no problems have arisen from it not executing for a long time, the simplest solution was just to remove the branches entirely to preserve identical functionality. |
…ith void LockBox and Monitor because we only care about side effects
|
In Lockbox.ts and Monitor.ts, the waitPs array is reversed with the However, in this case it seems that we are only interested in the side-effect of reverse() and there is nothing to do with the returned promise anyway, therefore the most logical solution would be to explicitly ignore the returned promise with |
Description
This is a small PR that simply fixes up some of the linting errors discovered by the new js-lint.
Issues Fixed
Tasks
Final checklist