Skip to content

Commit

Permalink
Fixed issue where full url for upstream that included credentials was…
Browse files Browse the repository at this point in the history
…n't being returned for use
  • Loading branch information
Sean Dietrich committed May 11, 2017
1 parent cc9527b commit 0acdb74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Commands/TestUpstreamCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ public function testUpdate($site_id, $options = [

if (is_null($repo)) {
$upstream_data = $this->site->getUpstream();
$repo = $upstream_data->get('url');
$repo_info = $this->session()->getUser()->getUpstreams()->get($upstream_data->get('id'));
$repo = $repo_info->get('upstream');
}

$this->log()->notice('Repository being used: {repo}', ['repo' => $repo]);
Expand Down

0 comments on commit 0acdb74

Please sign in to comment.