Add a semicolon at the end of this statement. 97/95397/2
authoranushadasari <danush10@in.ibm.com>
Tue, 10 Sep 2019 16:07:35 +0000 (21:37 +0530)
committerIttay Stern <ittay.stern@att.com>
Tue, 24 Sep 2019 16:29:53 +0000 (16:29 +0000)
In JavaScript, the semicolon (;) is optional as a statement separator, but omitting semicolons can be confusing, and lead to unexpected results because a semicolon is implicitly inserted at the end of each line.

Issue-ID: VID-607
Change-Id: I1fd965413585256c09e61c2a19b0651800e65eab
Signed-off-by: anushadasari <danush10@in.ibm.com>
vid-app-common/src/main/webapp/app/vid/scripts/modals/new-test-environment/new-test-environment.controller.js

index 352fa20..74bbb88 100644 (file)
@@ -55,7 +55,7 @@
                 vm.releaseVersions = response["release"].map(function (releaseOptions){
                     return releaseOptions.name;});
             },COMPONENT.TENANT_ISOLATION_FAMILY);
-        }
+        };
 
 
         vm.setEcompEnvironment = function (selectedIndex) {
@@ -82,7 +82,7 @@
         };
 
         vm.isShowReleaseEnabled = function () {
-            return featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_1908_RELEASE_TENANT_ISOLATION)
+            return featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_1908_RELEASE_TENANT_ISOLATION);
         };
 
         init();