No bug - Ignore false-positive error from a new lint rule; rs=bustage-fix DONTBUILD
authorGeoff Lankow <geoff@darktrojan.net>
Thu, 24 Jan 2019 20:20:38 +1300
changeset 34284 6c2c856e396fb4d4159737bf16545ecb260f7e09
parent 34283 8283e69c9dfa24a55cd7c1276363043bf69cfcf1
child 34285 a497d72c3d8aefee03941b0af2b18b673721ccbc
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
reviewersbustage-fix
No bug - Ignore false-positive error from a new lint rule; rs=bustage-fix DONTBUILD
calendar/base/src/calIcsParser.js
--- a/calendar/base/src/calIcsParser.js
+++ b/calendar/base/src/calIcsParser.js
@@ -53,17 +53,17 @@ calIcsParser.prototype = {
             }
 
             for (let subComp of cal.iterate.icalSubcomponent(calComp)) {
                 state.submit(subComp);
             }
             calComp = rootComp.getNextSubcomponent("VCALENDAR");
         }
 
-        state.join(() => {
+        state.join(() => { // eslint-disable-line mozilla/use-returnValue
             let fakedParents = {};
             // tag "exceptions", i.e. items with rid:
             for (let item of state.excItems) {
                 let parent = state.uid2parent[item.id];
 
                 if (!parent) { // a parentless one, fake a master and override it's occurrence
                     parent = cal.item.isEvent(item) ? cal.createEvent() : cal.createTodo();
                     parent.id = item.id;