[ 
https://issues.apache.org/jira/browse/ARROW-1708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214517#comment-16214517
 ] 

ASF GitHub Bot commented on ARROW-1708:
---------------------------------------

wesm closed pull request #1236: ARROW-1708: [JS] Fix linter error
URL: https://github.com/apache/arrow/pull/1236
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/js/src/reader/dictionary.ts b/js/src/reader/dictionary.ts
index 61698e80c..93a9ba76b 100644
--- a/js/src/reader/dictionary.ts
+++ b/js/src/reader/dictionary.ts
@@ -31,6 +31,8 @@ export function readDictionary(field: Field | null,
     }
     for (let i = -1, n = field && field.childrenLength() || 0; ++i < n;) {
         let vector = readDictionary(field.children(i), batch, iterator, 
dictionaries);
-        if (vector) return vector;
+        if (vector) {
+            return vector;
+        }
     }
 }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> [JS] Linter problem breaks master build
> ---------------------------------------
>
>                 Key: ARROW-1708
>                 URL: https://issues.apache.org/jira/browse/ARROW-1708
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: JavaScript
>            Reporter: Uwe L. Korn
>            Assignee: Uwe L. Korn
>              Labels: pull-request-available
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to