We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd68c6c commit 6572b25Copy full SHA for 6572b25
configure.php
@@ -7,8 +7,8 @@
7
$gitEmail = run('git config user.email');
8
$authorEmail = ask('Author email', $gitEmail);
9
10
-$usernameGuess = explode(':', run('git config remote.origin.url'))[1];
11
-if ($usernameGuess) {
+$usernameGuess = explode(':', run('git config remote.origin.url'))[1] ?? '';
+if ($usernameGuess !== '') {
12
$usernameGuess = dirname($usernameGuess);
13
$usernameGuess = basename($usernameGuess);
14
}
0 commit comments