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.
2 parents fd68c6c + 6572b25 commit 123b2a4Copy full SHA for 123b2a4
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