]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard: fix lint error caused by codelyzer update 22713/head
authorTiago Melo <tmelo@suse.com>
Mon, 25 Jun 2018 16:23:00 +0000 (17:23 +0100)
committerTiago Melo <tmelo@suse.com>
Tue, 26 Jun 2018 13:11:13 +0000 (14:11 +0100)
fixes: https://tracker.ceph.com/issues/24663

Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit 4e7f4cbd3fa1d89420a3521888ca7583fd7284fb)

src/pybind/mgr/dashboard/frontend/package.json
src/pybind/mgr/dashboard/run-frontend-unittests.sh

index 14eef2b248451c3c0f931ee1c168e840d10ee288..886fe247c8b8209280b823c0458fc92a47b54273 100644 (file)
@@ -43,7 +43,7 @@
     "@types/jasmine": "~2.5.53",
     "@types/jasminewd2": "~2.0.2",
     "@types/node": "~6.0.60",
-    "codelyzer": "^4.0.1",
+    "codelyzer": "4.3.0",
     "copy-webpack-plugin": "4.3.0",
     "jasmine-core": "~2.6.2",
     "jasmine-spec-reporter": "~4.1.0",
index 20303e20edb157d7246407f29d200b4605c7a8e3..d7667c6a88d4d366ad2611961cb7a9cf21d69c16 100755 (executable)
@@ -6,7 +6,7 @@ cd $CEPH_ROOT/src/pybind/mgr/dashboard/frontend
 
 .  $CEPH_ROOT/build/src/pybind/mgr/dashboard/node-env/bin/activate
 
-npm run build -- --prod
+npm run build -- --prod --progress=false
 npm run test -- --browsers PhantomJS --watch=false
 npm run lint