diff --git a/Jenkinsfile b/Jenkinsfile index 3e7fcfcf227..e2606058add 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -292,5 +292,4 @@ try { "*COMMIT*: by ${source.COMMITTER}\n" + "*INFO*: ${e}" } - } diff --git a/www/api/class/centreon_ceip.class.php b/www/api/class/centreon_ceip.class.php index ddafa758077..46e1a59e7c5 100644 --- a/www/api/class/centreon_ceip.class.php +++ b/www/api/class/centreon_ceip.class.php @@ -229,7 +229,7 @@ private function getLicenseInformation(): array } } } catch (\Exception $exception) { - $this->logger->error($exception->getMessage, ['context' => $exception]); + $this->logger->error($exception->getMessage(), ['context' => $exception]); } return [ diff --git a/www/front_src/src/Footer/Links.tsx b/www/front_src/src/Footer/Links.tsx index 688f61cd1ae..1ef818351f1 100644 --- a/www/front_src/src/Footer/Links.tsx +++ b/www/front_src/src/Footer/Links.tsx @@ -1,6 +1,6 @@ import * as React from 'react'; -import { dec, equals, length, not, pipe } from 'ramda'; +import { equals, not, dec } from 'ramda'; import { Link, makeStyles, Typography } from '@material-ui/core'; @@ -43,10 +43,7 @@ const links: Array = [ }, ]; -const numbersOfLinks = pipe, number, number>( - length, - dec, -)(links); +const numbersOfLinks = dec(links.length); const Links = (): JSX.Element => { const classes = useStyles(); diff --git a/www/front_src/src/Resources/Filter/index.tsx b/www/front_src/src/Resources/Filter/index.tsx index e37af72ab3a..7127b370fa9 100644 --- a/www/front_src/src/Resources/Filter/index.tsx +++ b/www/front_src/src/Resources/Filter/index.tsx @@ -280,7 +280,7 @@ const Filter = (): JSX.Element => { />