Skip to content

Commit

Permalink
Fix undefined array key
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 21, 2024
1 parent 08d2214 commit 2d24b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/bin/pick.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Get arguments
$hash = $argv[1];
$branch = $argv[2];
$pretend = $argv[3] === '--pretend';
$pretend = ($argv[3] ?? false) === '--pretend';

// Get the commit message
exec("git show $hash --pretty=format:\"%s%n%b\" -s", $output, $returnCode);
Expand Down

0 comments on commit 2d24b50

Please sign in to comment.