[ 
https://issues.apache.org/jira/browse/BEAM-10843?focusedWorklogId=476907&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-476907
 ]

ASF GitHub Bot logged work on BEAM-10843:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Aug/20 23:06
            Start Date: 31/Aug/20 23:06
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on a change in pull request #12742:
URL: https://github.com/apache/beam/pull/12742#discussion_r480459505



##########
File path: website/build.gradle
##########
@@ -75,7 +75,7 @@ task createDockerContainer(type: Exec) {
     // "jenkins" user ownership. BEAM-9737
     // Otherwise: run as current user, so as to not require sudo to clean up
     // build/ directory.
-    if (!System.getenv('NODE_NAME').startsWith('websites')) {
+    if (!System.getenv('NODE_NAME')?.startsWith('websites')) {

Review comment:
       I liked your solution just as well since it clarified the comment.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 476907)
    Time Spent: 50m  (was: 40m)

> Linkage checker fails with Cannot invoke method startsWith()
> ------------------------------------------------------------
>
>                 Key: BEAM-10843
>                 URL: https://issues.apache.org/jira/browse/BEAM-10843
>             Project: Beam
>          Issue Type: Bug
>          Components: build-system
>            Reporter: Luke Cwik
>            Assignee: Kyle Weaver
>            Priority: P2
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> * Where:
> Build file '/usr/local/google/home/lcwik/git/beam/website/build.gradle' line: 
> 78
> * What went wrong:
> Cannot invoke method startsWith() on null object



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to