-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (22 loc) · 722 Bytes
/
index.js
File metadata and controls
24 lines (22 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const messages = [
"This is where it all begins...",
"Commit committed",
"Version control is awful",
"COMMIT ALL THE FILES!",
"The same thing we do every night, Pinky - try to take over the world!",
"Lock S-foils in attack position",
"This commit is a lie",
"I'll explain when you're older!",
"Here be Dragons",
"Reinventing the wheel. Again.",
"This is not the commit message you are looking for",
"Batman! (this commit has no parents)",
"It is a small step for the programmer; a great leap for humanity",
];
const funnyCommit = () => {
const message = messages[Math.floor(Math.random() * messages.length)];
console.log(`\x1b[34m${message}\x1b[89m`);
}
module.exports = {
funnyCommit
};