-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathindex.js
More file actions
29 lines (27 loc) · 986 Bytes
/
index.js
File metadata and controls
29 lines (27 loc) · 986 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
25
26
27
28
29
const messages = [
"in case of fire: git commit, git push and leave building",
"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)",
"the greats murmur as learning with this commit",
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live",
"naruto, The programmer ninja!",
"The covid-19 block my commit",
"May the --force be with you"
];
const funnyCommit = () => {
const message = messages[Math.floor(Math.random() * messages.length)];
console.log(`\x1b[34m${message}\x1b[89m`);
}
module.exports = {
funnyCommit
};