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 33430 6c2c856e396f
parent 33429 8283e69c9dfa
child 33431 a497d72c3d8a
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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;