get resources dir from spdxlicenses
parent
ab08e4be62
commit
56f0d82207
|
@ -13,6 +13,7 @@
|
|||
namespace Composer;
|
||||
|
||||
use Composer\Json\JsonFile;
|
||||
use Composer\Spdx\SpdxLicenses;
|
||||
use Symfony\Component\Finder\Finder;
|
||||
use Symfony\Component\Process\Process;
|
||||
use Seld\PharUtils\Timestamps;
|
||||
|
@ -96,7 +97,7 @@ class Compiler
|
|||
$finder->files()
|
||||
->name('*.json')
|
||||
->in(__DIR__.'/../../res')
|
||||
->in(__DIR__.'/../../vendor/composer/spdx-licenses/res/')
|
||||
->in(SpdxLicenses::getResourcesDir())
|
||||
->sort($finderSort)
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue