Fix remaining lint issues

This commit is contained in:
Ray Schamp 2017-08-26 13:14:26 -04:00
parent 5113876588
commit 32bc087bba
7 changed files with 27 additions and 31 deletions
src/engine

View file

@ -86,12 +86,10 @@ const execute = function (sequencer, thread) {
sequencer.retireThread(thread);
}
}
} else {
} else if (!resolvedValue) {
// Not an edge-activated hat: retire the thread
// if predicate was false.
if (!resolvedValue) {
sequencer.retireThread(thread);
}
sequencer.retireThread(thread);
}
} else {
// In a non-hat, report the value visually if necessary if