[
https://issues.apache.org/jira/browse/AMBARI-21365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated AMBARI-21365:
-------------------------------------
Fix Version/s: 3.1.0
(was: 3.0.0)
> Accidental globals in JavaScript code
> -------------------------------------
>
> Key: AMBARI-21365
> URL: https://issues.apache.org/jira/browse/AMBARI-21365
> Project: Ambari
> Issue Type: Improvement
> Components: contrib
> Affects Versions: trunk
> Reporter: Max Schaefer
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.1.0
>
> Attachments: AMBARI-21365.patch
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> As detected by [lgtm|https://lgtm.com], a few JavaScript variables are used
> like local variables but are missing declarations, meaning that they become
> globals by default. This seems unlikely to be intentional, and is fixed by
> the attached patch.
> For more details see https://lgtm.com/projects/g/apache/ambari/alerts. (Full
> disclosure: I work on the JavaScript analysis behind lgtm.)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]