Skip to content

Commit 9a4c979

Browse files
authored
Merge pull request #4 from spatie/AlexVanderbist-patch-1
One in a million chance of having a good time
2 parents 2ff3932 + 9b7bb39 commit 9a4c979

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RandomCommand.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@ public function handle()
2525
$this->info("Executing command: `{$commandString}`");
2626

2727
Artisan::call($commandString, [], $this->output);
28+
29+
if (! rand(0, 1000000)) {
30+
shell_exec('open https://www.youtube.com/watch?v=dQw4w9WgXcQ');
31+
}
2832
}
2933
}

0 commit comments

Comments
 (0)