Skip to content

Commit 7f38b92

Browse files
brain-games.js refactoring
1 parent 59b509d commit 7f38b92

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

bin/brain-games.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
#!/usr/bin/env node
22
import username from '../src/cli.js';
33

4-
const greetUser = () => {
5-
console.log('Welcome to the Brain Games!');
6-
const userName = username();
7-
console.log(`Hello, ${userName}!`);
8-
};
9-
10-
export default greetUser;
4+
console.log('Welcome to the Brain Games!');
5+
const userName = username();
6+
console.log(`Hello, ${userName}!`);

0 commit comments

Comments
 (0)