math-exercises 3.0.43 → 3.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,7 +35,7 @@ const getHint = (identifiers) => {
35
35
  };
36
36
  const getCorrection = (identifiers) => {
37
37
  const { hasGgbCorr } = identifiers;
38
- if (hasGgbCorr)
38
+ if (!hasGgbCorr)
39
39
  return `voici la correction et voici des maths
40
40
 
41
41
  $$
@@ -35,7 +35,7 @@ const getHint = (identifiers) => {
35
35
  };
36
36
  const getCorrection = (identifiers) => {
37
37
  const { hasGgbCorr } = identifiers;
38
- if (hasGgbCorr)
38
+ if (!hasGgbCorr)
39
39
  return `voici la correction et voici des maths
40
40
 
41
41
  $$
@@ -35,7 +35,7 @@ const getHint = (identifiers) => {
35
35
  };
36
36
  const getCorrection = (identifiers) => {
37
37
  const { hasGgbCorr } = identifiers;
38
- if (hasGgbCorr)
38
+ if (!hasGgbCorr)
39
39
  return `voici la correction et voici des maths
40
40
 
41
41
  $$
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "math-exercises",
3
3
  "type": "module",
4
- "version": "3.0.43",
4
+ "version": "3.0.44",
5
5
  "description": "Math exercises generator for middle school and high school",
6
6
  "main": "lib/index.js",
7
7
  "files": [