Skip to content

Commit bb42d08

Browse files
committed
fixed exports/imports
1 parent e9ee61e commit bb42d08

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/games/calc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import runEngine from '../index.js'
2-
import getRandomNumber from '../utils.js'
2+
import { getRandomNumber } from '../utils.js'
33

44
const rule = 'What is the result of the expression?'
55
const operators = ['+', '-', '*']

src/games/even.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import runEngine from '../index.js'
2-
import getRandomNumber from '../utils.js'
2+
import { getRandomNumber } from '../utils.js'
33

44
const rule = 'Answer "yes" if the number is even, otherwise answer "no".'
55

src/games/gcd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import runEngine from '../index.js'
2-
import getRandomNumber from '../utils.js'
2+
import { getRandomNumber } from '../utils.js'
33

44
const rule = 'Find the greatest common divisor of given numbers.'
55

src/games/prime.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import runEngine from '../index.js'
2-
import getRandomNumber from '../utils.js'
2+
import { getRandomNumber } from '../utils.js'
33

44
const rule = 'Answer "yes" if given number is prime. Otherwise answer "no".'
55

src/games/progression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import runEngine from '../index.js'
2-
import getRandomNumber from '../utils.js'
2+
import { getRandomNumber } from '../utils.js'
33

44
const rule = 'What number is missing in the progression?'
55

0 commit comments

Comments
 (0)