RynoRn commented on a change in pull request #182: NIFIREG-261 - Convert JS
build to webpack
URL: https://github.com/apache/nifi-registry/pull/182#discussion_r281126137
##########
File path:
nifi-registry-core/nifi-registry-web-ui/src/main/webapp/components/administration/workflow/dialogs/edit-bucket-policy/nf-registry-edit-bucket-policy.js
##########
@@ -52,7 +53,8 @@ NfRegistryEditBucketPolicy.prototype = {
var self = this;
this.route.params
.switchMap(function (params) {
- return new rxjs.Observable.forkJoin(
+ // eslint-disable-next-line new-cap
+ return new Observable.forkJoin(
Review comment:
I think the `new` keyword is not necessary here so you can remove it as well
as the `eslint-ignore` 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]
With regards,
Apache Git Services