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 43835c6 commit 82b6da8Copy full SHA for 82b6da8
src/CommandBus/Handler/Repository/AppVeyorHandler.php
@@ -32,8 +32,8 @@ public function handle(AppVeyorCommand $command): PromiseInterface
32
return new Promise(function ($resolve, $reject) use ($command) {
33
$repo = false;
34
$this->appveyor->projects()->filter(function (ProjectInterface $project) use ($command) {
35
- return $project->repositoryType() === 'github' &&
36
- $project->repositoryName() === $command->getRepository();
+ return strtolower($project->repositoryType()) === 'github' &&
+ strtolower($project->repositoryName()) === strtolower($command->getRepository());
37
})->take(1)->subscribe(function ($repository) use (&$repo) {
38
$repo = $repository;
39
}, function ($error) use ($reject) {
0 commit comments