-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathindex.js
More file actions
36 lines (34 loc) · 1.25 KB
/
index.js
File metadata and controls
36 lines (34 loc) · 1.25 KB
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
30
31
32
33
34
35
36
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",
"Proceed with caution",
"A wise man once committed this code",
"Too lazy to think of a message",
"The meaning of all code: 42",
"Warning, I don't even know what I committed",
"This code is so secret, even I don't know what it does",
"My code is so good even I don't know what it does",
"BUGS! BUGS EVERYWHERE!"
];
const funnyCommit = () => {
const message = messages[Math.floor(Math.random() * messages.length)];
console.log(`\x1b[34m${message}\x1b[89m`);
}
module.exports = {
funnyCommit
};