Skip to content
Permalink
Browse files

Fixed dependecies without source (#8)

  • Loading branch information...
chapcz authored and milo committed Mar 19, 2019
1 parent 021f1d3 commit 1cf090cfb4389e34c84d88d16e066e6ffb6b3d5d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Panel.php
@@ -118,7 +118,7 @@ private static function format(array $packages, array $required)
$data = [];
foreach ($packages as $p) {
$data[$p['name']] = (object) [
'installed' => $p['version'] . ($p['version'] === 'dev-master'
'installed' => $p['version'] . ($p['version'] === 'dev-master' && isset($p['source']['reference'])
? ('#' . substr($p['source']['reference'], 0, 7))
: ''
),

0 comments on commit 1cf090c

Please sign in to comment.
You can’t perform that action at this time.