diff --git a/circle.yml b/circle.yml index 848c06174..07c3d413f 100644 --- a/circle.yml +++ b/circle.yml @@ -21,6 +21,9 @@ jobs: - run: name: Install flow-typed command: yarn run flow-typed install + - run: + name: Change git config to support UTF8 filename + command: git config --global core.quotepath false - run: name: test command: yarn test diff --git a/source/engine/mecanismViews/BarèmeLinéaire.js b/source/engine/mecanismViews/BarèmeLinéaire.js index 90ac252fc..cc33c7a6c 100644 --- a/source/engine/mecanismViews/BarèmeLinéaire.js +++ b/source/engine/mecanismViews/BarèmeLinéaire.js @@ -3,7 +3,7 @@ import { makeJsx } from '../evaluation' import { Node } from './common' import { Trans } from 'react-i18next' -export default function Barème(nodeValue, explanation) { +export default function BarèmeLinéaire(nodeValue, explanation) { return ( nodeValue * min && - max && - explanation.assiette.nodeValue < nodeValue * max + explanation.assiette.nodeValue > min && + (!max || explanation.assiette.nodeValue < max) ? ' bold' : '' }}>